Files
UnrealEngineUWP/Engine/Source/Editor/BlueprintGraph/Private/K2Node_BreakStruct.cpp

506 lines
17 KiB
C++
Raw Normal View History

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "K2Node_BreakStruct.h"
#include "Engine/UserDefinedStruct.h"
#include "EdGraphSchema_K2.h"
#include "Kismet2/BlueprintEditorUtils.h"
#include "EdGraphUtilities.h"
#include "KismetCompilerMisc.h"
#include "KismetCompiler.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 "BlueprintNodeBinder.h"
#include "BlueprintActionFilter.h"
#include "BlueprintFieldNodeSpawner.h"
#include "EditorCategoryUtils.h"
#include "BlueprintActionDatabaseRegistrar.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 "PropertyCustomizationHelpers.h"
Copying //UE4/Dev-Blueprints to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2842642 on 2016/01/25 by Maciej.Mroz Blueprint C++ Conversion: fixed dependency (headers) list builder Change 2842648 on 2016/01/25 by Maciej.Mroz AssetPtr has implicit constructor from StringReference Change 2842652 on 2016/01/25 by Maciej.Mroz Minor improvements in Orion headers. Necessary to compile the project with converted Blueprints Change 2842653 on 2016/01/25 by Maciej.Mroz Blueprint C++ Conversion: Split UberGraph into subfunctions Change 2843917 on 2016/01/26 by Michael.Schoell Replacing variable nodes with other variable nodes will now correctly mark the Blueprint as structurally modified. #jira UE-24925 - Using "Replace variable with..." does not mark a blueprint as needing compilation Change 2844300 on 2016/01/26 by Maciej.Mroz Blueprint C++ Conversion: improvements in constructor - UProperties for inaccessigle variables are reused - Arrays of structs use "StaticStruct()->InitializeStruct.." and diff-serialization. Change 2845536 on 2016/01/27 by Ben.Cosh Refactor of the Blueprint Profiler core to enable execution wire heatmaps. Still to do: - Sequence node handling - spotted as a bug last minute - Some functions still require a refactor, I'll pick this is up in next changes - Alternative statistic display widgets - enable blueprint breakpoints when profiling?! not sure we want this but adding for visibility Change 2845619 on 2016/01/27 by Michael.Schoell BP-Version bump to resolve TODO in K2Node_Event. Change 2845824 on 2016/01/27 by Michael.Schoell BP-Version bump to resolve TODO in K2Node_FunctionEntry. Change 2847390 on 2016/01/28 by Maciej.Mroz AssetPtr constructor from StringReference in explicit Change 2847894 on 2016/01/28 by Maciej.Mroz Blueprint C++ Conversion: Fixed pathologically included headers. Change 2848662 on 2016/01/29 by Ben.Cosh Fix for problems closing the blueprint editor introduced with CL 2845536 #UE-26153 - Unable to open the same blueprint after closing blueprint editor. #UE-26090 - Crash when closing the editor with the blueprint editor open Change 2848922 on 2016/01/29 by Maciej.Mroz Blueprint C++ Conversion: Removed unnecessary switch and StateStack in ubergraph subfunctions Change 2848934 on 2016/01/29 by Maciej.Mroz FEnumEditorUtils::EnsureAllDisplayNamesExist modifies UUserDefinedEnum::DisplayNames only when it's necessary It should fix the "Saving FText XXX which has been initialized from FString at cook time " warning Change 2849251 on 2016/01/29 by Michael.Schoell Fixed issues with the "Set Members..." node for structs not providing modified literals and other by-value data in the output connection. Reworked the compiler to handle terms with bPassedByReference in new ways. Variables will always mark their terms as bPassedByReference and the "Set Members..." node will leverage the value to know whether it needs to create a local output variable on the node or forward the reference. Break nodes will adapt their output terms to reflect the state of the input term, effectively forwarding the bPassedByReference state. #jira UE-24451 - "Set Members..." node does not return by-ref as expected when the input pin is connected to a literal (or otherwise truly by-value) pin. Change 2849263 on 2016/01/29 by Michael.Schoell Submit for missing file from CL# 2849251 Change 2849269 on 2016/01/29 by Michael.Schoell Improvements to localization support in SBlueprintPalette (items in the MyBlueprint window as well as the BP context menu when selecting nodes). Change 2849925 on 2016/01/29 by Mike.Beach Hanlding deferred loading placeholder-classes in UObjectPropertyBase::CheckValidObject (considering placeholder objects valid, when loading with deferring is enabled). Change 2850484 on 2016/01/31 by Maciej.Mroz Fixed crash when converting Widget Blueprint Change 2850485 on 2016/01/31 by Maciej.Mroz Blueprint C++ Conversion: KCST_UnconditionalGoto requires switch, when it's generated by UK2Node_ExecutionSequence Change 2850859 on 2016/02/01 by Ben.Cosh Fix for issue with debug instance filter causing an out of bounds access on the debug function stack array. #UE-25552 - Debugging specific instances of Fortnite's player pawn generic bp causes crashes #Proj UnrealEd Change 2850997 on 2016/02/01 by Maciej.Mroz Blueprint C++ Conversion: Fixed a lot of errors caused by cl#2842642 Change 2851965 on 2016/02/01 by Mike.Beach Preventing pin watches from saving/retaining old split pins that have since been deleted (recombine). #jira UE-26299 [CL 2865780 by Mike Beach in Main branch]
2016-02-12 17:00:45 -05:00
#include "BlueprintEditorSettings.h"
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037) #rb None #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2825716 on 2016/01/12 by Marc.Audy Fix GrabDebugSnapshot virtual function definitions in Ocean Change 2828462 on 2016/01/14 by Marc.Audy Back out changelist 2825716 Change 3153526 on 2016/10/06 by Zak.Middleton #ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration. Related to OR-14528. Change 3153580 on 2016/10/06 by Benn.Gallagher Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings. #jira UE-36588 Change 3154264 on 2016/10/06 by Aaron.McLeran UE-37004 UE-37005 Fixing stat soundwaves Change 3154560 on 2016/10/07 by James.Golding UE-20739 Fix auto box in Morph Target Preview panel Change 3154776 on 2016/10/07 by Ben.Zeigler #Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more. Change 3154954 on 2016/10/07 by Ben.Zeigler Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set. Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly. Removed the Category map from gameplay tags, games are using other systems to do translateable text. Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality Change 3154955 on 2016/10/07 by Ben.Zeigler Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types Change 3154995 on 2016/10/07 by Aaron.McLeran UE-37012 fix compile issue Change 3155009 on 2016/10/07 by Aaron.McLeran UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp - Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere. Change 3155128 on 2016/10/07 by Ben.Zeigler Add old location of GameplayTagsEditor to junk manifest Change 3155268 on 2016/10/07 by Aaron.McLeran UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions Change 3155561 on 2016/10/07 by Ben.Zeigler GameplayTag fixes made based on code review feedback: Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library Remove direct access to the tag container internals as it has always been unsafe Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large Fix case where comparing two containers with the tags in different orders would fail Remove deprecated serialization entirely, print error when trying to load very old tags Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them Change 3155842 on 2016/10/07 by dan.reynolds AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets Change 3156779 on 2016/10/10 by Richard.Hinckley Fixing/reordering comments for basic types. Change 3156926 on 2016/10/10 by Ben.Zeigler Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries Change 3156998 on 2016/10/10 by Jon.Nabozny Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue. Change 3158732 on 2016/10/11 by Zak.Middleton #ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction. #jira UE-28610 Change 3159208 on 2016/10/11 by dan.reynolds Added ancillary SoundClass Passive Mix Modifier Duration Test map Change 3159211 on 2016/10/11 by Aaron.McLeran UE-37193 Fixing passive sound mix modifier Change 3159278 on 2016/10/11 by dan.reynolds AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes. Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint Change 3159596 on 2016/10/12 by danny.bouimad Updates to TM-Meshbake Change 3159629 on 2016/10/12 by James.Golding Add ModifyCurve anim node Make GetPinAssociatedProperty const correct Change 3159705 on 2016/10/12 by James.Golding Add 'ApplyMode' and 'Alpha' options to ModifyCurve node Change 3159959 on 2016/10/12 by John.Abercrombie Integrate CL 3159892 from //Fortnite/Main/... Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing #ue4 Change 3160014 on 2016/10/12 by Lukasz.Furman pass on gameplay debugger in Simulate in Editor mode #jira UE-36123 Change 3160027 on 2016/10/12 by Lukasz.Furman fixed behavior tree task restart conditions copy of CL 3159145 #ue4 Change 3160129 on 2016/10/12 by Lukasz.Furman gameplay debugger refactor: removed deprecated code #ue4 Change 3160389 on 2016/10/12 by Lukasz.Furman added missing include path to gameplay debugger module #ue4 Change 3160408 on 2016/10/12 by Lukasz.Furman refactored sanity checks in gameplay debugger EdMode to keep static analysis happy #ue4 Change 3161143 on 2016/10/13 by James.Golding UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error Change 3161227 on 2016/10/13 by danny.bouimad More changes to meshmergemap Change 3161777 on 2016/10/13 by Ben.Zeigler API changes for GameplayTag and Container, and fix Redirect loading Remove Match type and empty count as match bool from common API In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage. Change 3162095 on 2016/10/13 by Jon.Nabozny Fix bad default screen resolution in Platformer Game. #jira UE-34901 Change 3163351 on 2016/10/14 by Marc.Audy Avoid duplicate accessor calls Change 3163364 on 2016/10/14 by Marc.Audy Eliminate auto Use ForEachObjectWithOuter Change 3163367 on 2016/10/14 by Marc.Audy Use ForEachObjectWithOuter instead of GetObjectsWithOuter Change 3163500 on 2016/10/14 by Marc.Audy When using SetCullDistance property for static meshes correctly update the cached value #jira UE-36891 Change 3163674 on 2016/10/14 by Jon.Nabozny #rn Fix popping in OnRep_ReplicatedAnimMontage. #jira UE-37056 Change 3164818 on 2016/10/17 by Ori.Cohen Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll. Change 3164903 on 2016/10/17 by Lukasz.Furman fixed bug in merging behavior tree searches #ue4 Change 3165236 on 2016/10/17 by dan.reynolds Fixes and tweaks based on feedback: - Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load - Fixed Blueprint Control map to stop test when the player leaves the zone - Fixed Blueprint Contorl map typos Change 3165323 on 2016/10/17 by Aaron.McLeran PS4 Audio Streaming - Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming) - Wrote an AT9 real-time decoder module (will be used in audio mixer) - Enabled streaming on PS4 platform - Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer) - Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread - Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack - Fixed up error handling code in Ngs2 so it actually reports real errors Change 3165997 on 2016/10/18 by Richard.Hinckley Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues. Change 3166220 on 2016/10/18 by Aaron.McLeran UE-37442 Build Tools Win64 completes with 28 errors - Changing include of appropriate file to not be in #if WITH_ENGINE block Change 3166262 on 2016/10/18 by Aaron.McLeran UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class. Change 3166562 on 2016/10/18 by Aaron.McLeran UE-37441 Fixing compile on Mac - Renamed FFormatChunk to FRiffFormatChunk Change 3166653 on 2016/10/18 by Aaron.McLeran UE-37442 Build Tools Win64 completes with 28 errors Change 3166917 on 2016/10/18 by Aaron.McLeran UE-37502 Initializing missed data members in FNgs2SoundSource constructor Change 3167329 on 2016/10/19 by Benn.Gallagher Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates. #jira UE-37500 Change 3167575 on 2016/10/19 by Jon.Nabozny #rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode. #jira UE-37082 Change 3168079 on 2016/10/19 by Ori.Cohen Fix timing issue that causes snapshotpose to t-pose. #JIRA UE-37476 Change 3168392 on 2016/10/19 by dan.reynolds Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances. Change 3169121 on 2016/10/20 by danny.bouimad Updates to Merge actor assets Change 3169128 on 2016/10/20 by Danny.Bouimad files Change 3169230 on 2016/10/20 by Lina.Halper #improved log message Change 3169243 on 2016/10/20 by Ben.Zeigler #jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup. Add code to automatically convert from make/break struct nodes to native call function if there is a native override. This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak. Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped Add specific fixups for GameplayTag make/break functions Change 3169422 on 2016/10/20 by Aaron.McLeran UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features Change 3169620 on 2016/10/20 by Ben.Zeigler Switch GameplayTagTests to use the new Custom test macro and better failure reporting. Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works. Change 3169622 on 2016/10/20 by Ben.Zeigler Fix swapped HasAny logic and bad comments Change 3169645 on 2016/10/20 by Aaron.McLeran Re-adding call to Stop source Change 3169664 on 2016/10/20 by dan.reynolds AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive. Change 3169997 on 2016/10/20 by Ben.Zeigler Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger Change 3170796 on 2016/10/21 by Marc.Audy PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus) #jira UE-37632 Change 3170802 on 2016/10/21 by Lina.Halper #ANIM: curve can link to joints - this allows to filter certain curves per LOD - when the joint is discarded -> refactored editor object tracker to allow multiple per class -> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices - layer bone support #jira: UEFW-207 Change 3170857 on 2016/10/21 by Aaron.McLeran Disabling checking for device change Change 3171101 on 2016/10/21 by Ben.Zeigler Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty() Engine fixups for those changes Change 3171102 on 2016/10/21 by Ben.Zeigler Internal game fixups for tag deprecation Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them Some minor changes for Ocean Change 3171186 on 2016/10/21 by Ben.Zeigler File got missed in checkin Change 3171239 on 2016/10/21 by Wes.Hunt TPSAudit updates. * Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked. * Don't skip Content folders * Don't skip Engine\Documentation\HTML * Skip any Content\Localization folders instead of only Engine\Content\Localization * Skip any Content\Internationalization folders * Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files. * if a file has no extension (like configure files) then treat the filename as the extension * configure files are treated like shell files Change 3171245 on 2016/10/21 by Ben.Zeigler Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones. I am not sure why StaticFindObject is unsafe during save. Change 3171248 on 2016/10/21 by Wes.Hunt TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging. Change 3171256 on 2016/10/21 by Wes.Hunt ModuleManager shutdown fixes. * ShutdownModule is now called in reverse order to when StartupModule is FINISHED. * This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule. * HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback. * Added comments to Module headers to indicate this new change in behavior. * Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine. Change 3171258 on 2016/10/21 by Wes.Hunt ModuleManager shutdown fixes. * ShutdownModule is now called in reverse order to when StartupModule is FINISHED. * This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule. * HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback. * Added comments to Module headers to indicate this new change in behavior. * Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine. Change 3171946 on 2016/10/24 by Lina.Halper Fix so that it checks all the joints before removing Change 3172126 on 2016/10/24 by Lukasz.Furman added navlink component #ue4 Change 3172152 on 2016/10/24 by Jon.Nabozny Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps. UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti. #jira UE-36472 Change 3172364 on 2016/10/24 by Ben.Zeigler Codereview fixes for tag changes. Make Tag->Container constructor explicit to avoid bugs Fix some cases that were using exact to allow parents instead Change 3173442 on 2016/10/25 by Jon.Nabozny Fixed crash when opening Anim asset after retargetting. Change 3174123 on 2016/10/25 by Ben.Zeigler Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI. Change 3174394 on 2016/10/25 by dan.reynolds AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long). Change 3175197 on 2016/10/26 by Wes.Hunt Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust. #codereivew: sam.zamani,dmitry.rekman,josh.markiewicz Change 3175236 on 2016/10/26 by Jon.Nabozny Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points. Either segment may be considered a point if it's two points have a distance that's nearly 0. #jira UE-19251 Change 3175256 on 2016/10/26 by Jon.Nabozny Fix CIS for SegmentDistToSegmentSafe change. Change 3175379 on 2016/10/26 by Jon.Nabozny Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component. #jira UE-37582 Change 3175408 on 2016/10/26 by Marc.Audy AudioThreading improvements: Fix PS4 core 6 issue Add timeout spam Radical simplification Fix suspension CVar #authors Gil.Gribb/Marc.Audy #jira OR-30447 Change 3175535 on 2016/10/26 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266 Change 3175539 on 2016/10/26 by Marc.Audy Restore affinity for AudioThread and allow it on to 7th (rather than pinning it) Change 3175631 on 2016/10/26 by Marc.Audy Fix silly compile error Change 3175639 on 2016/10/26 by Aaron.McLeran Fixing audio device removal code - Flipping active sources to virtual mode - Handling initializing sources that have become virtual - Not stopping sounds when device is unplugged Change 3175665 on 2016/10/26 by dan.reynolds AEOverview update - Added a Streaming Overview sub test (Streaming Spam) Change 3175934 on 2016/10/26 by dan.reynolds AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms Change 3175941 on 2016/10/26 by Marc.Audy Fix compiler error after merge from Main Change 3176378 on 2016/10/27 by Jon.Nabozny Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation. Change 3176441 on 2016/10/27 by Jon.Nabozny Fix another CIS issue with SegmentDistToSegmentSafe change. Change 3176487 on 2016/10/27 by Jon.Nabozny Hide DemoRecorder from the scoreboard in ShooterGame. #jira UE-37492 Change 3176616 on 2016/10/27 by Lukasz.Furman optimized behavior tree debugger update in subtrees #jira UE-29029 Change 3176717 on 2016/10/27 by james.cobbett Test asset for UE-37270 Change 3176731 on 2016/10/27 by dan.reynolds AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case Change 3176887 on 2016/10/27 by Aaron.McLeran UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop - Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback #tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix. Change 3177053 on 2016/10/27 by Marc.Audy Actually reattach previously attached actors when creating a child actor #jira UE-37675 Change 3177113 on 2016/10/27 by Aaron.McLeran UE-37906 Fixing stat sounds when the audio thread is enabled. Change 3177536 on 2016/10/27 by Aaron.McLeran Updating QASoundWaveProcedural to support stereo procedural sound wave generation. Change 3177551 on 2016/10/27 by dan.reynolds AEOverview update - Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals - Added STRMOverviewStreamPriority to test Streaming Voice Priority Change 3177819 on 2016/10/28 by Thomas.Sarkanen Consolidated LOD screen size calculations Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0. HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes. Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version. Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution. Auto LOD now uses the same functionality to determine what LOD thresholds to use. #tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets. #tests Verified that HLOD distance->screen size and inverse functions map correctly #tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method Change 3177996 on 2016/10/28 by Marc.Audy Support play button on SoundCues as well as SoundWaves Change 3178013 on 2016/10/28 by Marc.Audy Allow previewing of force feedback effects from content browser #jira UE-36388 Change 3178020 on 2016/10/28 by Lukasz.Furman fixed navmesh wall segment calculations for crowds #jira UE-37893 Change 3178096 on 2016/10/28 by Marc.Audy Make ALevelSequenceActor::Tick call Super #jira UE-37932 Change 3178247 on 2016/10/28 by Zak.Middleton #ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward. UE-37902 Change 3178256 on 2016/10/28 by Zak.Middleton #ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server. Change 3178263 on 2016/10/28 by Ben.Zeigler Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable. This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds Clean up FLinker::Serialize, as it is no longer called except to get memory size Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles. Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table Change 3178265 on 2016/10/28 by Ben.Zeigler Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places. Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments Migrate QAGame's tag config as a test Change 3178266 on 2016/10/28 by Lina.Halper Fix issue with anim editor sound play notify doesn't work with follow option #jira: UE-37946 Change 3178441 on 2016/10/28 by Ben.Zeigler Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear Change 3178443 on 2016/10/28 by Ben.Zeigler Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches Change 3178533 on 2016/10/28 by Ben.Zeigler Build fix Change 3178655 on 2016/10/28 by Ben.Zeigler Build fix Change 3178672 on 2016/10/28 by Lina.Halper Unshelved from changelist '3164228': PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma) #jira: UE-37372 Change 3178675 on 2016/10/28 by Ben.Zeigler Crash fix if you have no defaultengine.ini redirects section Change 3178698 on 2016/10/28 by Ben.Zeigler #jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13 Change 3178743 on 2016/10/28 by Lina.Halper Fixed so that if no key, it clamps to 0. #jira: UE-36790 Change 3179121 on 2016/10/28 by dan.reynolds AEOverview tweaks - updated Concurrency map to tighten up the audio playback (as in James C's feedback) - tweaked some timers to be closer to real-time Change 3179912 on 2016/10/31 by Mieszko.Zielinski Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4 Change 3179933 on 2016/10/31 by Lukasz.Furman fixed missing update timers in avoidance manager #ue4 Change 3180028 on 2016/10/31 by Ben.Zeigler #jira UE-373993 Fix crash with bad default value for objects Change 3180503 on 2016/10/31 by mason.seay Test map for character spawning bug Change 3180744 on 2016/10/31 by Ben.Zeigler #jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager Change 3180914 on 2016/10/31 by Ben.Zeigler #jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support Add handler for editing a gameplaytag asset from asset browser Change 3181879 on 2016/11/01 by Marc.Audy Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds #jira UE-38055 [CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
#include "Kismet/KismetMathLibrary.h"
#define LOCTEXT_NAMESPACE "K2Node_BreakStruct"
//////////////////////////////////////////////////////////////////////////
// FKCHandler_BreakStruct
class FKCHandler_BreakStruct : public FNodeHandlingFunctor
{
public:
FKCHandler_BreakStruct(FKismetCompilerContext& InCompilerContext)
: FNodeHandlingFunctor(InCompilerContext)
{
}
FBPTerminal* RegisterInputTerm(FKismetFunctionContext& Context, UK2Node_BreakStruct* Node)
{
check(NULL != Node);
if(NULL == Node->StructType)
{
CompilerContext.MessageLog.Error(*LOCTEXT("BreakStruct_UnknownStructure_Error", "Unknown structure to break for @@").ToString(), Node);
return NULL;
}
//Find input pin
UEdGraphPin* InputPin = NULL;
for (int32 PinIndex = 0; PinIndex < Node->Pins.Num(); ++PinIndex)
{
UEdGraphPin* Pin = Node->Pins[PinIndex];
if(Pin && (EGPD_Input == Pin->Direction))
{
InputPin = Pin;
break;
}
}
check(NULL != InputPin);
//Find structure source net
UEdGraphPin* Net = FEdGraphUtilities::GetNetFromPin(InputPin);
check(NULL != Net);
FBPTerminal** FoundTerm = Context.NetMap.Find(Net);
FBPTerminal* Term = FoundTerm ? *FoundTerm : NULL;
if(NULL == Term)
{
// Dont allow literal
if ((Net->Direction == EGPD_Input) && (Net->LinkedTo.Num() == 0))
{
CompilerContext.MessageLog.Error(*LOCTEXT("InvalidNoInputStructure_Error", "No input structure to break for @@").ToString(), Net);
return NULL;
}
// standard register net
else
{
Term = Context.CreateLocalTerminalFromPinAutoChooseScope(Net, Context.NetNameMap->MakeValidName(Net));
}
Context.NetMap.Add(Net, Term);
}
UStruct* StructInTerm = Cast<UStruct>(Term->Type.PinSubCategoryObject.Get());
if(NULL == StructInTerm || !StructInTerm->IsChildOf(Node->StructType))
{
CompilerContext.MessageLog.Error(*LOCTEXT("BreakStruct_NoMatch_Error", "Structures don't match for @@").ToString(), Node);
}
return Term;
}
void RegisterOutputTerm(FKismetFunctionContext& Context, UScriptStruct* StructType, UEdGraphPin* Net, FBPTerminal* ContextTerm)
{
UProperty* BoundProperty = FindField<UProperty>(StructType, *(Net->PinName));
if (BoundProperty != NULL)
{
if (BoundProperty->HasAnyPropertyFlags(CPF_Deprecated) && Net->LinkedTo.Num())
{
FText Message = FText::Format(LOCTEXT("BreakStruct_DeprecatedField_Warning", "@@ : Member '{0}' of struct '{1}' is deprecated.")
, BoundProperty->GetDisplayNameText()
, StructType->GetDisplayNameText());
CompilerContext.MessageLog.Warning(*Message.ToString(), Net->GetOuter());
}
Copying //UE4/Dev-Blueprints to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2842642 on 2016/01/25 by Maciej.Mroz Blueprint C++ Conversion: fixed dependency (headers) list builder Change 2842648 on 2016/01/25 by Maciej.Mroz AssetPtr has implicit constructor from StringReference Change 2842652 on 2016/01/25 by Maciej.Mroz Minor improvements in Orion headers. Necessary to compile the project with converted Blueprints Change 2842653 on 2016/01/25 by Maciej.Mroz Blueprint C++ Conversion: Split UberGraph into subfunctions Change 2843917 on 2016/01/26 by Michael.Schoell Replacing variable nodes with other variable nodes will now correctly mark the Blueprint as structurally modified. #jira UE-24925 - Using "Replace variable with..." does not mark a blueprint as needing compilation Change 2844300 on 2016/01/26 by Maciej.Mroz Blueprint C++ Conversion: improvements in constructor - UProperties for inaccessigle variables are reused - Arrays of structs use "StaticStruct()->InitializeStruct.." and diff-serialization. Change 2845536 on 2016/01/27 by Ben.Cosh Refactor of the Blueprint Profiler core to enable execution wire heatmaps. Still to do: - Sequence node handling - spotted as a bug last minute - Some functions still require a refactor, I'll pick this is up in next changes - Alternative statistic display widgets - enable blueprint breakpoints when profiling?! not sure we want this but adding for visibility Change 2845619 on 2016/01/27 by Michael.Schoell BP-Version bump to resolve TODO in K2Node_Event. Change 2845824 on 2016/01/27 by Michael.Schoell BP-Version bump to resolve TODO in K2Node_FunctionEntry. Change 2847390 on 2016/01/28 by Maciej.Mroz AssetPtr constructor from StringReference in explicit Change 2847894 on 2016/01/28 by Maciej.Mroz Blueprint C++ Conversion: Fixed pathologically included headers. Change 2848662 on 2016/01/29 by Ben.Cosh Fix for problems closing the blueprint editor introduced with CL 2845536 #UE-26153 - Unable to open the same blueprint after closing blueprint editor. #UE-26090 - Crash when closing the editor with the blueprint editor open Change 2848922 on 2016/01/29 by Maciej.Mroz Blueprint C++ Conversion: Removed unnecessary switch and StateStack in ubergraph subfunctions Change 2848934 on 2016/01/29 by Maciej.Mroz FEnumEditorUtils::EnsureAllDisplayNamesExist modifies UUserDefinedEnum::DisplayNames only when it's necessary It should fix the "Saving FText XXX which has been initialized from FString at cook time " warning Change 2849251 on 2016/01/29 by Michael.Schoell Fixed issues with the "Set Members..." node for structs not providing modified literals and other by-value data in the output connection. Reworked the compiler to handle terms with bPassedByReference in new ways. Variables will always mark their terms as bPassedByReference and the "Set Members..." node will leverage the value to know whether it needs to create a local output variable on the node or forward the reference. Break nodes will adapt their output terms to reflect the state of the input term, effectively forwarding the bPassedByReference state. #jira UE-24451 - "Set Members..." node does not return by-ref as expected when the input pin is connected to a literal (or otherwise truly by-value) pin. Change 2849263 on 2016/01/29 by Michael.Schoell Submit for missing file from CL# 2849251 Change 2849269 on 2016/01/29 by Michael.Schoell Improvements to localization support in SBlueprintPalette (items in the MyBlueprint window as well as the BP context menu when selecting nodes). Change 2849925 on 2016/01/29 by Mike.Beach Hanlding deferred loading placeholder-classes in UObjectPropertyBase::CheckValidObject (considering placeholder objects valid, when loading with deferring is enabled). Change 2850484 on 2016/01/31 by Maciej.Mroz Fixed crash when converting Widget Blueprint Change 2850485 on 2016/01/31 by Maciej.Mroz Blueprint C++ Conversion: KCST_UnconditionalGoto requires switch, when it's generated by UK2Node_ExecutionSequence Change 2850859 on 2016/02/01 by Ben.Cosh Fix for issue with debug instance filter causing an out of bounds access on the debug function stack array. #UE-25552 - Debugging specific instances of Fortnite's player pawn generic bp causes crashes #Proj UnrealEd Change 2850997 on 2016/02/01 by Maciej.Mroz Blueprint C++ Conversion: Fixed a lot of errors caused by cl#2842642 Change 2851965 on 2016/02/01 by Mike.Beach Preventing pin watches from saving/retaining old split pins that have since been deleted (recombine). #jira UE-26299 [CL 2865780 by Mike Beach in Main branch]
2016-02-12 17:00:45 -05:00
UBlueprintEditorSettings* Settings = GetMutableDefault<UBlueprintEditorSettings>();
FBPTerminal* Term = Context.CreateLocalTerminalFromPinAutoChooseScope(Net, Net->PinName);
Copying //UE4/Dev-Blueprints to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2865817 on 2016/02/12 by Mike.Beach Handling deferred (cyclic) dependency issues that arrise from imports not found within the linker's ImportMap (imports loaded from config files and UProperty::ImportText). #jira UE-26756 #codereview Robert.Manuszewski Change 2866282 on 2016/02/13 by Maciej.Mroz Blueprint C++ Conversion: - Added CustomDynamicClassInitialization meta data and function - References to other converted fields are gathered before CDO is created (it solves many dependencies) #codereview Robert.Manuszewski Change 2867921 on 2016/02/15 by Mike.Beach Fixing (CIS error) typo - Accidently assigning uninitialized variable to itself. Change 2867970 on 2016/02/15 by Mike.Beach Removing "static" keyword on template specializations (CIS error). Change 2868401 on 2016/02/16 by Maciej.Mroz TBaseStructure for more noexport structures Change 2868404 on 2016/02/16 by Maciej.Mroz Blueprint C++ Conversion: - Fixed some issues related to NOEXPORT structures - Added FEmitDefaultValueHelper::SpecialStructureConstructor Change 2868461 on 2016/02/16 by Maciej.Mroz Blueprint C++ Conversion: - Fixed component initialization in actors, based on a DynamicClass Change 2868481 on 2016/02/16 by Maciej.Mroz Blueprint C++ Conversion: (Work in progress.) In BPGC templates cor SCS components are owned by the class. In DynamicClass the templates are owned by CDO. It requires to update the import path, when a component template is referenced by an extern object. #codereview Robert.Manuszewski, Dan.Oconnor Change 2868769 on 2016/02/16 by Maciej.Mroz Improved parsing for multi-parameter AutoCreateRefTerm meta data Change 2870310 on 2016/02/17 by Ben.Cosh Incremental refactor and update for the blueprint profiler. - Shuffled files around and renamed to make the layout more informational - Added profiler capture and playback contexts - Added blueprint and function contexts, this enables rapid stat discards in situations such as blueprint compilation. - Moved the blueprint execution mapping out of the profiler and into the blueprint contexts - Refactored the event playback so it processes with one event at a time. #CodeReview Phillip.Kavan Change 2870386 on 2016/02/17 by Maciej.Mroz Improved UProperty::ExportCppDeclaration - Const reference to a pointer should be: "Type* const &" , not "const Type* &". #codereview Steve.Robb Change 2870686 on 2016/02/17 by Nick.Whiting Engine changes needed for Bullet Train compatibility: - Adding BP-exposed GetClosestBone function, with ability to optionally filter only bones associated with physics assets - Exposing GetRemoteRole to BPs Change 2871419 on 2016/02/17 by Mike.Beach Fixing CIS incude error. #codereview Ben.Cosh Change 2872190 on 2016/02/18 by Mike.Beach Another CIS fix - forward declaring a class that wasn't included. #codereview Ben.Cosh Change 2872285 on 2016/02/18 by Maciej.Mroz added bDontNativizeDataOnlyBP in Editor.ini Change 2872826 on 2016/02/18 by Ben.Cosh CIS fixes for mac builds #codereview Dan.Oconnor, Mike.Beach Change 2874284 on 2016/02/19 by Mike.Beach Supporting nested struct properties that are filled out through text imports during deferred dependency loading. #codereview Robert.Manuszewski Change 2874299 on 2016/02/19 by Mike.Beach CIS fix - macro typo in non-debug build. Change 2875571 on 2016/02/22 by Maciej.Mroz Blueprint C++ Conversion: Fixed generated FCompiledInDeferStruct instance for nativized structs. It has a proper overriden name. Change 2875574 on 2016/02/22 by Maciej.Mroz Blueprint C++ Conversion: Class type of unconverted asset is not replaced in import map while cooking. Change 2875741 on 2016/02/22 by Michael.Schoell Array Item Get nodes now return by-ref. All use cases of the node, as well as use cases of ForEachLoop and ForEachLoopWithBreaks, have been updated to use a Copy node on the output to maintain any existing functionality. [CL 2884111 by Mike Beach in Main branch]
2016-02-26 16:58:26 -05:00
Term->bPassedByReference = ContextTerm->bPassedByReference;
Term->AssociatedVarProperty = BoundProperty;
Context.NetMap.Add(Net, Term);
Term->Context = ContextTerm;
if (BoundProperty->HasAnyPropertyFlags(CPF_BlueprintReadOnly))
{
Term->bIsConst = true;
}
}
else
{
CompilerContext.MessageLog.Error(TEXT("Failed to find a struct member for @@"), Net);
}
}
virtual void RegisterNets(FKismetFunctionContext& Context, UEdGraphNode* InNode) override
{
UK2Node_BreakStruct* Node = Cast<UK2Node_BreakStruct>(InNode);
check(NULL != Node);
if(!UK2Node_BreakStruct::CanBeBroken(Node->StructType))
{
CompilerContext.MessageLog.Warning(*LOCTEXT("BreakStruct_NoBreak_Error", "The structure cannot be broken using generic 'break' node @@. Try use specialized 'break' function if available.").ToString(), Node);
}
if(FBPTerminal* StructContextTerm = RegisterInputTerm(Context, Node))
{
for (int32 PinIndex = 0; PinIndex < Node->Pins.Num(); ++PinIndex)
{
UEdGraphPin* Pin = Node->Pins[PinIndex];
if(NULL != Pin && EGPD_Output == Pin->Direction)
{
RegisterOutputTerm(Context, Node->StructType, Pin, StructContextTerm);
}
}
}
}
};
Merging //UE4/Release-4.11 to //UE4/Main (Up to CL#2867947) ========================== MAJOR FEATURES + CHANGES ========================== Change 2858603 on 2016/02/08 by Tim.Hobson #jira UE-26550 - checked in new art assets for buttons and symbols Change 2858665 on 2016/02/08 by Taizyd.Korambayil #jira UE-25797 Added TextureLODSettings for Ipad Mini set all LODBias to 2. Change 2858668 on 2016/02/08 by Matthew.Griffin Added InfiltratorDemo back into Rocket samples #jira UEB-591 Change 2858743 on 2016/02/08 by Taizyd.Korambayil #jira UE-25996 Fixed Import Error in TopDOwn Code Change 2858776 on 2016/02/08 by Matthew.Griffin Added UnrealMatch3 to packaged projects #jira UEB-589 Change 2858900 on 2016/02/08 by Taizyd.Korambayil #jira UE-15234 Switched all Mask Textures to use the (Mask,No sRGB) Compression Change 2858947 on 2016/02/08 by Mike.Beach Controlling more when VerifyImport() is ran - trying to prevent Verify() from running when DeferDependencyLoads is on, and instead trying to fully verify every import upfront (where it's meant to happen) before serializing in the package's contents (to alleviate cyclic dependency complications). #jira UE-21098 Change 2858954 on 2016/02/08 by Taizyd.Korambayil #jira UE-25524 Resaved Sound Assets to Fix NodeGuid Warnings Change 2859126 on 2016/02/08 by Max.Chen Sequencer: Release track editors when destroying sequencer #jira UE-26423 Change 2859147 on 2016/02/08 by Martin.Wilson Fix uninitialized variable bug #jira UE-26606 Change 2859237 on 2016/02/08 by Lauren.Ridge Bumping Match 3 Version Number for iTunes Connect #jira UE-26648 Change 2859434 on 2016/02/08 by Chad.Taylor Handle the quit and focus message pipe from the SteamVR SDK #jira UEBP-142 Change 2859562 on 2016/02/08 by Chad.Taylor Mac/Android compile fix #jira UEBP-142 Change 2859633 on 2016/02/08 by Dan.Oconnor Transaction buffer uniformly address subobjects and SCS created components via an array of names and a root object. This allows undo/redo to work reliably to any depth of object hierarchy. Removed FReferencedObject and replaced it with the robust FPersistentObjectRef. DefaultSubObjects of the CDO are now tagged as RF_Archetype at construction (logic in PropertyHandleImpl.cpp probably no longer required) Actors reinstanced due to blueprint compilation now have stable names, so that this name can be used to reference their subobjects. This is also part of the fix needed for UE-23335, completely fixes UE-26045 This version of the fix is less aggressive about searching all the way up an object's outer chain before stopping. Fixes issues with parts of outer chain changing on PIE. Also doesn't add objects referenced by subobject name to any AddReference calls which fixes race conditions with GC. Also fixes bad logic in CopyPropertiesForUnrelatedObjects, which would create copies of subobjects that already existed because we were populating the ReferenceReplacementMap before adding all existing subobjects (always components in this case) #jira UE-26045 Change 2859640 on 2016/02/08 by Dan.Oconnor Removed debugging code.. #jira UE-26045 Change 2859668 on 2016/02/08 by Aaron.McLeran #jira UE-26503 A Mixer with a Concatenator node won't loop with a Looping node - issue was the looping nodes weren't properly reseting all the child wave instances - also looping nodes weren't reporting the correct GetNumSounds() count for use with sequencer node Change 2859688 on 2016/02/08 by Chris.Babcock Allow external access to runtime modifications to OpenGL shaders #jira UE-26679 #ue4 Change 2859739 on 2016/02/08 by Chad.Taylor UE4_Win64_Mono compile fix #jira UEBP-142 Change 2859962 on 2016/02/09 by Chris.Wood Passing command line to Crash Report Client without stripping the project name. [UE-24959] - "Send and Restart" brings up the Project Browser #jira UE-24959 Reimplement changes from Orion in UE 4.11 Reimplementing the command line logging filtering over from Dev-Core (same change as CL 2821359 that moved this change into Orion) Reimplementing passing full command line to Crash Report Client (same change as CL 2858617 in Orion) Change 2859966 on 2016/02/09 by Matthew.Griffin Fixed shadow variable issue that was causing build failure in NonUnity mode on Mac [CL 2873884 by Ben Marsh in Main branch]
2016-02-19 13:49:13 -05:00
UK2Node_BreakStruct::UK2Node_BreakStruct(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
, bMadeAfterOverridePinRemoval(false)
{
}
static bool CanCreatePinForProperty(const UProperty* Property, bool bIncludeEditAnywhere = true)
{
const UEdGraphSchema_K2* Schema = GetDefault<UEdGraphSchema_K2>();
FEdGraphPinType DumbGraphPinType;
const bool bConvertable = Schema->ConvertPropertyToPinType(Property, /*out*/ DumbGraphPinType);
const bool bVisible = Property ? (bIncludeEditAnywhere ? Property->HasAnyPropertyFlags(CPF_Edit | CPF_BlueprintVisible) : Property->HasAnyPropertyFlags(CPF_BlueprintVisible) ): false;
return bVisible && bConvertable;
}
bool UK2Node_BreakStruct::CanBeBroken(const UScriptStruct* Struct, bool bIncludeEditAnywhere, bool bMustHaveValidProperties )
{
const UEdGraphSchema_K2* Schema = GetDefault<UEdGraphSchema_K2>();
if(Struct && Schema && !Struct->HasMetaData(TEXT("HasNativeBreak")))
{
if (!bMustHaveValidProperties && UEdGraphSchema_K2::IsAllowableBlueprintVariableType(Struct))
{
return true;
}
for (TFieldIterator<UProperty> It(Struct); It; ++It)
{
if (CanCreatePinForProperty(*It, bIncludeEditAnywhere))
{
return true;
}
}
}
return false;
}
void UK2Node_BreakStruct::AllocateDefaultPins()
{
const UEdGraphSchema_K2* Schema = GetDefault<UEdGraphSchema_K2>();
if(Schema && StructType)
{
Copying //UE4/Release-Staging-4.15 to //UE4/Dev-Main (Source: //UE4/Release-4.15 @ 3278667) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3278667 on 2017/01/31 by Chris.Wood Added extra context to crash analytics and crash reports in the Editor. [UE-41306] - Add context to crash analytics and crash reports (with Editor user activity) When a Slate tab becomes active or foregrounded, we take its LayoutIdentity, Label and Content Widget Type and generate a string from all three. This gives context for what the user was doing. The string is set as the UserActivity and passed to MTBF analytics, crash analytics and crash reporter. Also added filter to the UserActivity tracking system that defaults to Game mode to preserve previous behavior. Editor now switches it to Editor mode and starts setting the activity in this mode. #jira UE-41306 Change 3278637 on 2017/01/30 by Dmitriy.Dyomin Fixed: iOS Device displays textures darker than in Editor #jira UE-41298 Change 3278566 on 2017/01/30 by Jack.Porter Fix #WITH_EDITOR in InstancedStaticMesh.cpp #jira UE-41292 Change 3278195 on 2017/01/30 by Alexis.Matte Fix the re-import skeletal mesh regression, where all material disapear. #jira UE-41294 Change 3278173 on 2017/01/30 by Frank.Fella PlatformMediaSource - Don't allow the user to nest platform media sources, and also fail validation on nested platform media sources just in case they are set outside of the cusomization UI. #Jira UE-40779 Change 3278156 on 2017/01/30 by Josh.Adams - Adding the missed #include line for IsWindowsServer() #jira UE-41304 Change 3278088 on 2017/01/30 by Mike.Beach Mirroring CL 3249423 from Dev-BP. Fix to keep placeholder classes from being needlessly created (when the object they represent already exists) - instead, attempt to lookup and find the existing import objects (which used to be set, but could be cleared during async loading by FLinkerManager::DissociateImportsAndForcedExports()). #jira OR-34038 Change 3278036 on 2017/01/30 by Mike.Beach Mirroring CL 3277671 from Dev-BP. Refactoring FBlueprintCompilerCppBackend::SortNodesInUberGraphExecutionGroup() a bit. Catching cases that weren't acounted for - detecting cyclical logic now when we've pulled a node/statement out of order, and other nodes need to fall through to that logic (not relying on a goto). #jira UE-41188, UE-41189, UE-41186, UE-41037 Change 3277974 on 2017/01/30 by Josh.Adams - Hopeful workaround for COM crash in HandleGameExplorerIntegration function #jira UE-41080 Change 3277951 on 2017/01/30 by Ori.Cohen Fix access violation in physx. #JIRA ODIN-5199 Change 3277773 on 2017/01/30 by Jamie.Dale Fixing crash that could occur with null meta-data #jira UE-41271 Change 3277549 on 2017/01/30 by Max.Chen Sequencer: Back out changelist 3276452 because it breaks other uses of the time snapping interval in the settings. #jira UE-41009 Change 3277510 on 2017/01/30 by Jamie.Dale Fixed localization sometimes having incorrect keys in cooked builds Merged CL# 3276233 and CL# 3277273. #jira UE-41271 Change 3277500 on 2017/01/30 by Michael.Trepka Added -Wno-undefined-var-template on Mac to work around an issue with compiling UHT in Xcode 8.3 #jira UE-41225 Change 3277421 on 2017/01/30 by Arciel.Rekman TestPAL: delete unused test (UE-36984) #jira UE-36984 (Edigrating CL 3267568 from Dev-Platform to Release-4.15) Change 3277410 on 2017/01/30 by Jeff.Fisher UE-41152 more non-unity include fixes. -Matthew Griffin showed me how to run this locally, so I was able to locally reproduce the errors and this fixed them (the previous fixes were insufficient rather than incorrect). #jira UE-41152 Change 3277230 on 2017/01/30 by Jack.Porter Fixed issue with static lighting for Foliage and Instanced Static Meshes where shadows on instances in LOD levels other than LOD 0 was incorrect. #jira UE-39884 Change 3277178 on 2017/01/30 by Allan.Bentham enable FORCE_FLOATS with iOS metal shaders when full precision material setting is set. #jira UE-41253 Change 3277134 on 2017/01/30 by Matthew.Griffin Fixed NonUnity compile issues Change 3276503 on 2017/01/28 by Jeff.Fisher UE-41152 more non-unity include fixes. #jira UE-41152 Change 3276452 on 2017/01/28 by Max.Chen Sequencer: Changed the time snapping interval in the toolbar ui so that it no longer additionally updates the sequencer setting. The value used in the sequencer settings is only used to initialize a new level sequence. #jira UE-41009 Change 3276130 on 2017/01/27 by Phillip.Kavan [UE-40894] Fix data loss issues with non-native Blueprint classes that override inherited component default values from a nativized parent Blueprint class hierarchy. - Mirrored from //UE4/Dev-Blueprints (CL# 3276109). #jira UE-40894 Change 3276013 on 2017/01/27 by Lina.Halper - fix issue with additive pose preview applying twice #jira: UE-41216 #code review:Thomas.Sarkanen Change 3275990 on 2017/01/27 by Mitchell.Wilson Disabling 'Used with skeletal mesh' on some materials to resolve errors and warnings. #jira UE-40736 Change 3275885 on 2017/01/27 by Matt.Kuhlenschmidt Fixed missing slate style assets log warning #jira UE-41148 Change 3275805 on 2017/01/27 by Ori.Cohen Fix incorrect warning about moving simulated bodies during tick group. The existing code would warn if you had a kinematic that was SimulationDisabled (i.e. meaning it's not in the sim scene). #JIRA UE-37270 Change 3275797 on 2017/01/27 by Shaun.Kime In some cases, it was possible to create a SRetainerWidget that does not have a valid scene. This would cause the recorded scene index to be mismatched with the actual rendering index when played back in the future. #jira OR-34919 Change 3275681 on 2017/01/27 by Lina.Halper Dupe change of CL 3273803, 3274129, 3274700 #jira: UE-41163 #code review:Daniel.Wright, Martin.Wilson Change 3275624 on 2017/01/27 by Benn.Gallagher Fixed crash when creating destructible meshes from static meshes with null material interface entries #jira UE-38998 Change 3275601 on 2017/01/27 by Matt.Kuhlenschmidt Fix crash when a kdop collision generation fails and there are existing collision meshes selected. We no longer clear out unrelated collision primitives when kdop generation fails. #jira UE-41220 Change 3275545 on 2017/01/27 by Chris.Bunner Added flag for retreiving debug materials from GetUsedMaterials calls on rendering components. #jira UE-40482 Change 3275522 on 2017/01/27 by Max.Chen Sequencer: Call modify before setting row indices #jira UE-40682 Change 3275518 on 2017/01/27 by Max.Chen Sequencer: Switch to static pointer to fix crash when tearing down curve editor. #jira UE-41105 Change 3275475 on 2017/01/27 by Jeff.Fisher UE-41152 Merge Improved Daydream Support from Google -Fixing non-unity missing includes. #jira UE-41152 Change 3275387 on 2017/01/27 by Steve.Robb Prevent engine reinstancing on hot reload. Copied from CL# 3265490. #jira UE-40765 Change 3275279 on 2017/01/27 by Josh.Adams - Redoing change 3274305 in 4.15 #jira UE-40451 Change 3275233 on 2017/01/27 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix share play initialization logic. #jira UE-41209 Change 3275227 on 2017/01/27 by Alex.Delesky Duplicating the fix for UE-40791 from Dev-Editor CL 3265714 - The ForceFeedback thumbnail's Play and Stop icons will now render correctly, and will only be visible while an effect is playing or when the cursor hovers over the icon. #jira UE-40791 Change 3275057 on 2017/01/27 by Peter.Sauerbrei fix for crash after changing the metal shader version #jira ue-41183 Change 3275031 on 2017/01/27 by Matthew.Griffin Added architecture hash to path for Linux generated includes, didn't realize that this was part of the path. Change 3275005 on 2017/01/27 by Matthew.Griffin Re-enabled Cache of cooked platform data during DerivedDataCache commandlet Moved caching DDC of non-host platform data behind an option so it's not done for Installed Build by default Removed other platforms from Launcher Samples and changed 'CookPlatforms' to 'DDCPlatforms' so that its purpose is more clear Change 3274828 on 2017/01/27 by Jeff.Fisher UE-41152 Merge Improved Daydream Support from Google -Fixing non-unity missing include. #jira UE-41152 Change 3274799 on 2017/01/27 by Arciel.Rekman Fix for installed Linux cross-toolchain (UE-40392). - Pull request #3111 contributed by rubu. #jira UE-40392 Change 3274756 on 2017/01/27 by Max.Chen Sequencer: Update the parent guid with the new possessable guid. This fixes a bug where the parent guid isn't set properly and so folders aren't retained when assign actors and running fix up actor references. #jira UE-41010 Change 3274755 on 2017/01/27 by Max.Chen Sequencer: Call notify movie scene data changed when creating a camera instead of marking the instances as needing a refresh. #jira UE-41019 Change 3274597 on 2017/01/26 by Jeff.Fisher UE-41152 Merge Improved Daydream Support from Google -Fixing monolithic include warning. #jira UE-41152 Change 3274564 on 2017/01/26 by Mike.Beach Following the example of other nodes with external dependencies (like UK2Node_SwitchEnum), and making sure the struct is preloaded before we use it (the struct needs to have a valid size). #jira UE-41073 Change 3274535 on 2017/01/26 by Mike.Beach Removed ensure that was blocking a wrapper function call to a non-nativized function lib from being generated (while not optimal, the generated code works). #jira UE-41190 Change 3274512 on 2017/01/26 by Jeff.Fisher UE-41152 Merge Improved Daydream Support from Google Merging cl 3255506 Copyright update for google -note most of the changes went in with the previous 3 androidvr-devvr change integrations, these two were not otherwise changed. -just incrementing the year //depot/Partners/Google/AndroidVR-DevVR/Engine/... to //UE4/Release-4.15/Engine/... #jira UE-41152 #review-3273588 Change 3274511 on 2017/01/26 by Jeff.Fisher UE-41152 Merge Improved Daydream Support from Google Merging cl 3243495 Adding GoogleVRTransition2D plugin to handle VR->2D->VR transition for daydream app. //depot/Partners/Google/AndroidVR-DevVR/Engine/... to //UE4/Release-4.15/Engine/... #jira UE-41152 #review-3273586 Change 3274510 on 2017/01/26 by Jeff.Fisher UE-41152 Merge Improved Daydream Support from Google Merging cl 3243494 Update GoogleVR plugin to v1.2. -Upgrade GVR NDK to 1.10.0 -Add easy to use GoogleVR input component, including controller component for daydream and a gaze based reticle component for cardboard. -Make the GoogleVRSplash rendered with depth. -Add built in arm model support in GoogleVR controller plugin. -Add "Use ExternalFilesDir for UE4Game files" option in AndroidRuntimeSetting to support saving game progress without requesting EXTERNAL_STORAGE permission in Andoird 23+ -Remove the "Package for Daydream" option in AndroidRuntimeSetting. -Fix the crash on iOS9 when GoogleVR plugin is enabled.(udn/325432) //depot/Partners/Google/AndroidVR-DevVR/Engine/... to //UE4/Release-4.15/Engine/... #jira UE-41152 #review-3273585 Change 3274509 on 2017/01/26 by Jeff.Fisher UE-41152 Merge Improved Daydream Support from Google Merging cl 3243493 Adding AndroidPermission plugin to handle runtime permission request and check for android api 23 and above. -The plugin works for both daydream and normal Android application. -For Daydream app, it need to work with GoogleVRTransition2D plugin. //depot/Partners/Google/AndroidVR-DevVR/Engine/... to //UE4/Release-4.15/Engine/... #jira UE-41152 #review-3273583 Change 3274485 on 2017/01/26 by Chris.Babcock Fix handling of numbers in textedit (allow decimals) #jira UE-41198 #ue4 #android Change 3274457 on 2017/01/26 by Mike.Beach Fix to CIS warning (fallout from CL 3274362) #jira UE-41072, UE-41071, UE-41070 Change 3274445 on 2017/01/26 by Arciel.Rekman Proper fix for deploying to Linux (UE-40023). - The logic is: if the base path (local to PC, one we are replacing) *ends* with a separator, add the separator to the dest path (one we're mapping to). Previous fix had a last minute change that inverted it. #jira UE-40023 Change 3274428 on 2017/01/26 by Brian.Karis Fixed bloom flickering on high contrast HDR edges when r.TemporalAACatmullRom was enabled. #jira UE-41138 Change 3274362 on 2017/01/26 by Mike.Beach Restructuring how we apply individual (exclusive) Blueprint nativization flags... 1. Explicitly flagging Blueprints as dependencies for nativization (and communicating that to the user) 2. Now applying nativization flag to authoritative config for all dependencies on save 3. Flagging new dependencies (parent or interface) as needing nativization (when required) 4. Ignore bDontNativizeDataOnlyBP setting when nativization mode is set to explicit #jira UE-41072, UE-41071, UE-41070 Change 3274349 on 2017/01/26 by Yannick.Lange VREditor: Fix Laser not hidden on MotionControllers with docked Menu/UI Panels #jira UE-40070 Change 3274301 on 2017/01/26 by Chris.Bunner Added missing material expression tooltips/keywords for new nodes based on 4.15 preview feeback. #jira UE-41193 Change 3274254 on 2017/01/26 by Ryan.Gerleve Fix for IsInGameThread() checks that could fail in debug builds while recording a replay with tick.DoAsyncEndOfFrameTasks and demo.ClientRecordAsyncEndOfFrame enabled. #jira UE-39911 Change 3274121 on 2017/01/26 by Josh.Adams - Fixed build error with landscape gizmo #jira UE-41177 Change 3274114 on 2017/01/26 by Dan.Oconnor Updating all references before calling post edit - prevents objects from being destroyed or created while updating references #jira UE-40121 Change 3273971 on 2017/01/26 by Chris.Bunner Update material instance permutations when we have already set param/switch overrides, then only change the base properties. #jira UE-39754 Change 3273842 on 2017/01/26 by Daniel.Wright Attempt to remove instructions from code features only present in the forward renderer, so we are showing users their graph cost. Allows shader complexity in forward to sortof match deferred. #jira UE-41167 Change 3273750 on 2017/01/26 by Jeff.Fisher UE-41137 //UE4/Main: Step 'Compile Ocean (Win32/Win64)' - 2 Errors - SteamVRController.cpp -Fixing build break for Ocean. Maybe they are using an older compiler? #jira UE-31137 Change 3273602 on 2017/01/26 by Michael.Trepka Fix for UE-41146 #jira UE-41146 Change 3273506 on 2017/01/26 by Maciej.Mroz #jira ODIN-4991, UE-41035 merged cl3273497 from Dev-Blueprints branch Nativization: EX_AddMulticastDelegate - generated code calls TMulticastScriptDelegate::AddUniqe instead of TMulticastScriptDelegate::Add. Change 3273464 on 2017/01/26 by Mitchell.Wilson Resaving asset to resolve warning. #jira UE-41008 Change 3273413 on 2017/01/26 by Marc.Audy Fix crash when audio device fails to initialize #author Andrew.Grant #jira UE-41143 Change 3273391 on 2017/01/26 by Jack.Porter Fixed ensure encountered when using the Copy/Paste sub-tool in sculpt mode #jira UE-40480 Change 3273343 on 2017/01/26 by Matt.Kuhlenschmidt Resetting the preview on a material now properly clears the thumbnail which could have a stale references that was impossible to fix. Fixed on asset exibiting this problem #jira UE-40300 Change 3273243 on 2017/01/26 by Jamie.Dale Speculative fix for an issue where User Defined Enum display names were being lost on upgrade to 4.15 #jira UE-41130 Change 3273235 on 2017/01/26 by Graeme.Thornton Fix for some memory being left hanging around when loading bulk data asyncronously under certain circumstances #jira UE-37815 Change 3273225 on 2017/01/26 by Ben.Cosh This fixes an issue with actor details component selection causing actor selection to get out of sync across undo operations #Jira UE-40753 - [CrashReport] UE4Editor_LevelEditor!FLevelEditorActionCallbacks::Paste_CanExecute() [leveleditoractions.cpp:1602] #Proj Engine Change 3273224 on 2017/01/26 by Josh.Stoddard Increment FDerivedDataPhysXCooker to force recook of PhysX data #jira UE-39791#rb none #lockdown james.golding Change 3273201 on 2017/01/26 by Jack.Porter Fixed problem where UpdateInstanceTransform blueprint function was not updating bounds correctly #jira UE-41126 Change 3273122 on 2017/01/26 by Graeme.Thornton Added some extra log output for situations where a compressed block in an archive doesn't have a valid header #jira UE-38767 Change 3273116 on 2017/01/26 by Benn.Gallagher Fix for crash generating clothing skinning data due to coplanar check triggering a check() on small triangles #jira UE-41112 Change 3273077 on 2017/01/26 by Thomas.Sarkanen Allowed LODs other than LOD0 to have screen sizes greater than 1 #jira UE-41125 - Static mesh LODs other than LOD0 cannot be set to screen sizes greater than 1 Change 3273061 on 2017/01/26 by Matthew.Griffin Disabled code caching data for all platforms until we can figure out why it's filling up DDC cache Change 3272938 on 2017/01/25 by Arciel.Rekman Fix launch on a remote Linux machine (UE-38691). - Device id is now used to get target platform, so should match it exactly. #jira UE-38691 Change 3272816 on 2017/01/25 by Ben.Marsh Fix VS2017 being displayed as 'Visual Studio 15' in the Windows target settings panel. Change 3272590 on 2017/01/25 by Daniel.Wright Workaround for "error X3067: 'GetObjectWorldPosition': ambiguous function call" which happens when FMaterialPixelParameters and FMaterialVertexParameters have the same number of floats with the HLSL compiler. Function overload resolution appears to identify types based on how many floats / ints / etc they contain. #jira UE-41099 Change 3272419 on 2017/01/25 by Arciel.Rekman Linux: fix remote deploying of a packaged build (UE-40023). #jira UE-40023 Change 3272355 on 2017/01/25 by Daniel.Wright Prevent a large shadow depth bias due to low resolution from causing near plane clipping #jira UE-40873 Change 3272196 on 2017/01/25 by tim.gautier Updating TM-UMG content for UI visibility #jira UE-29618 Change 3272114 on 2017/01/25 by Michael.Dupuis #jira UE-29817 : backout of CL from Dev-Editor fixing this jira Change 3271953 on 2017/01/25 by Michael.Trepka Attempt to fix UE-40956 - Rare crash occurs in CoreAudio in Vehicle Game on Mac when quitting. #jira UE-40956 Change 3271945 on 2017/01/25 by Olaf.Piesche Replicating CL 3271564 #jira UE-40980 #udn 325525 Fix uniform buffers for mesh particles; these should really be on the mesh collector, so allocating them as a one frame resource is safe. Change 3271883 on 2017/01/25 by Daniel.Wright UWorld::AreAlwaysLoadedLevelsLoaded takes into account bShouldBeVisible. Fixes reflection captures not getting uploaded when there's an invisible always loaded level, which is supposed to be invisible. #jira UE-40724 Change 3271686 on 2017/01/25 by Marc.Audy Properly fix line endings in all cases when installing a c++ feature pack #jira UE-40939 Change 3271631 on 2017/01/25 by Ryan.Gerleve In UEngine::CommitMapChange, rename the new ULevelStreaming objects so that the main world is their outer. This is more correct in general, and will cause those levels to be added to the correct level collection during FlushLevelStreaming. Also use MoveTemp to add the streaming level list to the main world, so that the fake world will no longer reference them. #jira UE-40524 Change 3271611 on 2017/01/25 by Allan.Bentham Ensure texture's buildsettings are not marked as streamable if the target platform does not support streaming. #jira UE-40927 Change 3271504 on 2017/01/25 by tim.gautier Updated default values of UMG_Behavior #jira UE-29618 Change 3271491 on 2017/01/25 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix bug in AT9 audio cooking. - Maximum mono bitrate is 144kbps, but 100% quality mono tracks were selecting 168kbps, causing the AT9 tool to fail. - Also bumped AT9 engine format to recook potentially broken audio data. #jira UE-40761 Change 3271428 on 2017/01/25 by Chris.Bunner Bug in previous CL. #jira UE-39953 Change 3271413 on 2017/01/25 by Lina.Halper #DUPEFIX of CL 3270776 #jira: UE-41082 Change 3271403 on 2017/01/25 by tim.gautier Adjusted UMG_Blur intensity settings. #jira UE-29618 # rb cristina.riveron Change 3271300 on 2017/01/25 by Luke.Thatcher [PLATFORM] [PS4] [^] Merge (as edit) fix for NpToolkit2 initialization in 6CPU mode, from //UE4/Dev-Platform to //UE4/Release-4.15 (Original CL 3271215) - Default thread affinity in the InitParams structure is 7 CPUs. - Using this affinity in games with 6CPU mode set in param.sfo causes init() to fail. - We now select 6 or 7 CPU affinity based on what sceKernelGetCpumode reports at runtime. #jira UE-41079 Change 3271197 on 2017/01/25 by Andrew.Rodham Sequencer: Ensure initial evaluation range correctly sets exclusive lower boundary for subsequent evaluations - This prevents us from erroneously evaluating the initial time twice as part of swept evaluations) #jira UE-40758 Change 3270386 on 2017/01/24 by tim.gautier Updated UMG_Blur to include second Low-Quality asset #jira UE-29618 Change 3270267 on 2017/01/24 by Arciel.Rekman Linux: fix not being able to run a packaged build (UE-37016, UE-39648). - Fixed expansion of paths with spaces in the bootstrap script. - Also increased the timeout since large projects can sometimes get killed on start. - Also killed spammy console output. #jira UE-37016 Change 3270203 on 2017/01/24 by Chris.Babcock Fixed issue with Mac and Linux install and uninstall scripts if ANDROID_HOME not set (contributed by nathansizemore) #jira UE-41042 #PR #3160 #ue4 #android Change 3270037 on 2017/01/24 by tim.gautier Checking in UMG_Blur for UMG test coverage #jira UE-29618 Change 3269829 on 2017/01/24 by matt.barnes Adding content for Material Attribute testing #jira UE-29618 Change 3269700 on 2017/01/24 by Josh.Stoddard force relink of PhysX libs #jira UE-39791 #rb ori.cohen #lockdown james.golding Change 3269621 on 2017/01/24 by Allan.Bentham Make sure 'intrinsic_GetHDR32bppEncodeModeES2()' reports no encoding mode when mobileHDR == false #jira UE-41023 Change 3269503 on 2017/01/24 by Josh.Stoddard Integrate PhysX change 3268008 from //UE4/Dev-Physics-Upgrade #jira UE-39791 #lockdown james.golding #rb josh.stoddard Change 3269359 on 2017/01/24 by Jack.Porter Fix for Web browser widget crash on Android when packaged for Distribution #jira UE-39451 Change 3269316 on 2017/01/24 by Thomas.Sarkanen Fixed non-unity issues with last change for UE-40945 #jira UE-40945 - Crash trying to import facial animations Change 3269047 on 2017/01/23 by Yannick.Lange VREditor: Fix VREditor Laser not hidden on MotionControllers with docked Menu/UI Panels #jira UE-40070 Change 3268824 on 2017/01/23 by Rolando.Caloca UE4.15 - Fix for right eye showing black on VR #jira UE-40900 Change 3268752 on 2017/01/23 by Nick.Whiting Fix for assertion for binding an MSAA'd scene color with a non-MSAA'd texture. #jira UE-39304 Change 3268722 on 2017/01/23 by Olaf.Piesche Replicating 3256329 #jira UE-38615 Removing unnecessary assert that fires when exporting emitters. Change 3268220 on 2017/01/23 by Nick.Whiting Adding in a new CVar (vr.SteamVR.UsePostPresentHandoff), which defaults to 0. When set to 0, we do NOT use the SteamVR PostPresentHandoff, which costs some performance GPU time. When 1, we use the call, and get some extra GPU performance. However, this call is NOT safe for scenes that have frame-behind GPU work, like SceneCapture components and Widget Components #jira UE-40570 Change 3268180 on 2017/01/23 by Marc.Audy PendingKill Actors will no longer register their components when the level is being loaded #jira UE-40505 Change 3268076 on 2017/01/23 by Matthew.Griffin Changed Mac SunTemple cook jobs to use Sample Editor to avoid errors about mismatched files #jira UE-40806 Change 3267997 on 2017/01/23 by Mitchell.Wilson Increased lightmap size on spheres in volumes example to resolve issue with lighting. Corrected misspelling in multiple examples and one UMG asset. #jira UE-40890 UE-40926 UE-40882 UE-40928 UE-40825 UE-40819 Change 3267892 on 2017/01/23 by Mitchell.Wilson Removed preview mesh on M_Bird_Inst that was referencing a static mesh that was removed or renamed to resolve warnings in CIS. #jira UE-40300 Change 3267866 on 2017/01/23 by Thomas.Sarkanen Prevented crash when using Facial Animation importer Also hid the feature behind an experiemental setting flag, as it is not ready for users yet. #jira UE-40945 - Crash trying to import facial animations Change 3267834 on 2017/01/23 by Nick.Darnell An addition to 3255247, this also adds input processing incrementing for double click, and preview mouse down. #jira UE-40313 Change 3267785 on 2017/01/23 by Marc.Audy Put proper line endings when modifying template files when installing feature pack #jira UE-40939 Change 3267761 on 2017/01/23 by Mitchell.Wilson Moved left landscape mesh slightly to hide a seam that can be seen when using VR and looking over the railing. #jira UE-40916 Change 3267632 on 2017/01/23 by Jurre.deBaare Marker syncs not working correctly in Blend Spaces #fix Ensure that SampleIndexWithMarkers is serialized #JIRA UE-40975 [CL 3287682 by Matthew Griffin in Main branch]
2017-02-06 10:41:38 -05:00
PreloadObject(StructType);
CreatePin(EGPD_Input, Schema->PC_Struct, TEXT(""), StructType, false, true, StructType->GetName(), true);
struct FBreakStructPinManager : public FStructOperationOptionalPinManager
{
virtual bool CanTreatPropertyAsOptional(UProperty* TestProperty) const override
{
return CanCreatePinForProperty(TestProperty);
}
};
{
FBreakStructPinManager OptionalPinManager;
OptionalPinManager.RebuildPropertyList(ShowPinForProperties, StructType);
OptionalPinManager.CreateVisiblePins(ShowPinForProperties, StructType, EGPD_Output, this);
}
// When struct has a lot of fields, mark their pins as advanced
if(Pins.Num() > 5)
{
if(ENodeAdvancedPins::NoPins == AdvancedPinDisplay)
{
AdvancedPinDisplay = ENodeAdvancedPins::Hidden;
}
for(int32 PinIndex = 3; PinIndex < Pins.Num(); ++PinIndex)
{
if(UEdGraphPin * EdGraphPin = Pins[PinIndex])
{
EdGraphPin->bAdvancedView = true;
}
}
}
}
}
FText UK2Node_BreakStruct::GetNodeTitle(ENodeTitleType::Type TitleType) const
{
if (StructType == nullptr)
{
return LOCTEXT("BreakNullStruct_Title", "Break <unknown struct>");
}
else if (CachedNodeTitle.IsOutOfDate(this))
{
FFormatNamedArguments Args;
Args.Add(TEXT("StructName"), FText::FromString(StructType->GetName()));
// FText::Format() is slow, so we cache this to save on performance
CachedNodeTitle.SetCachedText(FText::Format(LOCTEXT("BreakNodeTitle", "Break {StructName}"), Args), this);
}
return CachedNodeTitle;
}
FText UK2Node_BreakStruct::GetTooltipText() const
{
if (StructType == nullptr)
{
return LOCTEXT("BreakNullStruct_Tooltip", "Adds a node that breaks an '<unknown struct>' into its member fields");
}
else if (CachedTooltip.IsOutOfDate(this))
{
// FText::Format() is slow, so we cache this to save on performance
CachedTooltip.SetCachedText(FText::Format(
LOCTEXT("BreakStruct_Tooltip", "Adds a node that breaks a '{0}' into its member fields"),
FText::FromName(StructType->GetFName())
), this);
}
return CachedTooltip;
}
void UK2Node_BreakStruct::ValidateNodeDuringCompilation(class FCompilerResultsLog& MessageLog) const
{
if(!StructType)
{
MessageLog.Error(*LOCTEXT("NoStruct_Error", "No Struct in @@").ToString(), this);
}
else
{
bool bHasAnyBlueprintVisibleProperty = false;
for (TFieldIterator<UProperty> It(StructType); It; ++It)
{
const UProperty* Property = *It;
if (CanCreatePinForProperty(Property))
{
const bool bIsBlueprintVisible = Property->HasAnyPropertyFlags(CPF_BlueprintVisible) || (Property->GetOwnerStruct() && Property->GetOwnerStruct()->IsA<UUserDefinedStruct>());
bHasAnyBlueprintVisibleProperty |= bIsBlueprintVisible;
const UEdGraphPin* Pin = FindPin(Property->GetName());
const bool bIsLinked = Pin && Pin->LinkedTo.Num();
if (!bIsBlueprintVisible && bIsLinked)
{
MessageLog.Warning(*LOCTEXT("PropertyIsNotBPVisible_Warning", "@@ - the native property is not tagged as BlueprintReadWrite or BlueprintReadOnly, the pin will be removed in a future release.").ToString(), Pin);
}
if ((Property->ArrayDim > 1) && bIsLinked)
{
MessageLog.Warning(*LOCTEXT("StaticArray_Warning", "@@ - the native property is a static array, which is not supported by blueprints").ToString(), Pin);
}
}
}
if (!bHasAnyBlueprintVisibleProperty)
{
MessageLog.Warning(*LOCTEXT("StructHasNoBPVisibleProperties_Warning", "@@ has no property tagged as BlueprintReadWrite or BlueprintReadOnly. The node will be removed in a future release.").ToString(), this);
}
Merging //UE4/Release-4.11 to //UE4/Main (Up to CL#2867947) ========================== MAJOR FEATURES + CHANGES ========================== Change 2858603 on 2016/02/08 by Tim.Hobson #jira UE-26550 - checked in new art assets for buttons and symbols Change 2858665 on 2016/02/08 by Taizyd.Korambayil #jira UE-25797 Added TextureLODSettings for Ipad Mini set all LODBias to 2. Change 2858668 on 2016/02/08 by Matthew.Griffin Added InfiltratorDemo back into Rocket samples #jira UEB-591 Change 2858743 on 2016/02/08 by Taizyd.Korambayil #jira UE-25996 Fixed Import Error in TopDOwn Code Change 2858776 on 2016/02/08 by Matthew.Griffin Added UnrealMatch3 to packaged projects #jira UEB-589 Change 2858900 on 2016/02/08 by Taizyd.Korambayil #jira UE-15234 Switched all Mask Textures to use the (Mask,No sRGB) Compression Change 2858947 on 2016/02/08 by Mike.Beach Controlling more when VerifyImport() is ran - trying to prevent Verify() from running when DeferDependencyLoads is on, and instead trying to fully verify every import upfront (where it's meant to happen) before serializing in the package's contents (to alleviate cyclic dependency complications). #jira UE-21098 Change 2858954 on 2016/02/08 by Taizyd.Korambayil #jira UE-25524 Resaved Sound Assets to Fix NodeGuid Warnings Change 2859126 on 2016/02/08 by Max.Chen Sequencer: Release track editors when destroying sequencer #jira UE-26423 Change 2859147 on 2016/02/08 by Martin.Wilson Fix uninitialized variable bug #jira UE-26606 Change 2859237 on 2016/02/08 by Lauren.Ridge Bumping Match 3 Version Number for iTunes Connect #jira UE-26648 Change 2859434 on 2016/02/08 by Chad.Taylor Handle the quit and focus message pipe from the SteamVR SDK #jira UEBP-142 Change 2859562 on 2016/02/08 by Chad.Taylor Mac/Android compile fix #jira UEBP-142 Change 2859633 on 2016/02/08 by Dan.Oconnor Transaction buffer uniformly address subobjects and SCS created components via an array of names and a root object. This allows undo/redo to work reliably to any depth of object hierarchy. Removed FReferencedObject and replaced it with the robust FPersistentObjectRef. DefaultSubObjects of the CDO are now tagged as RF_Archetype at construction (logic in PropertyHandleImpl.cpp probably no longer required) Actors reinstanced due to blueprint compilation now have stable names, so that this name can be used to reference their subobjects. This is also part of the fix needed for UE-23335, completely fixes UE-26045 This version of the fix is less aggressive about searching all the way up an object's outer chain before stopping. Fixes issues with parts of outer chain changing on PIE. Also doesn't add objects referenced by subobject name to any AddReference calls which fixes race conditions with GC. Also fixes bad logic in CopyPropertiesForUnrelatedObjects, which would create copies of subobjects that already existed because we were populating the ReferenceReplacementMap before adding all existing subobjects (always components in this case) #jira UE-26045 Change 2859640 on 2016/02/08 by Dan.Oconnor Removed debugging code.. #jira UE-26045 Change 2859668 on 2016/02/08 by Aaron.McLeran #jira UE-26503 A Mixer with a Concatenator node won't loop with a Looping node - issue was the looping nodes weren't properly reseting all the child wave instances - also looping nodes weren't reporting the correct GetNumSounds() count for use with sequencer node Change 2859688 on 2016/02/08 by Chris.Babcock Allow external access to runtime modifications to OpenGL shaders #jira UE-26679 #ue4 Change 2859739 on 2016/02/08 by Chad.Taylor UE4_Win64_Mono compile fix #jira UEBP-142 Change 2859962 on 2016/02/09 by Chris.Wood Passing command line to Crash Report Client without stripping the project name. [UE-24959] - "Send and Restart" brings up the Project Browser #jira UE-24959 Reimplement changes from Orion in UE 4.11 Reimplementing the command line logging filtering over from Dev-Core (same change as CL 2821359 that moved this change into Orion) Reimplementing passing full command line to Crash Report Client (same change as CL 2858617 in Orion) Change 2859966 on 2016/02/09 by Matthew.Griffin Fixed shadow variable issue that was causing build failure in NonUnity mode on Mac [CL 2873884 by Ben Marsh in Main branch]
2016-02-19 13:49:13 -05:00
if (!bMadeAfterOverridePinRemoval)
{
Copying //UE4/Fortnite-Staging to //UE4/Dev-Main (Source: //UE4/Fortnite-Staging @ 3026859) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3016173 on 2016/06/16 by Lukasz.Furman fixed path updates in nested move tasks #jira FORT-25742 Change 3015722 on 2016/06/15 by Bob.Tellez #UE4 Avoiding a crash in FOnlinePartySystemMcp::PublishPartyInfoToPresence #JIRA OR-14102 Change 3015626 on 2016/06/15 by Bob.Tellez #UE4 Experimental fix for hitches involving spinlocks in windows. #JIRA FORT-25253 Change 3015473 on 2016/06/15 by Bob.Tellez #UE4 Compiling CrashReportClient in VS2013 instead of 2015 until we can figure out the appropriate way to install the redist on end-user machines. #JIRA FORT-25748 Change 3014721 on 2016/06/15 by Bob.Tellez #UE4 Returning false in cases where we want to skip replication of GameplayAbilities structures in NetDeltaSerialize. This fixes a bug where actors trying to become net dormant were not allowed because they were continuously reporting that they had data to replicate. #JIRA FORT-25689 Change 3014323 on 2016/06/15 by Rob.Cannaday When kicked from lobby beacon, restore the persistent party after leaving the previous persistent party #jira FORT-25407 #tests front end parties, being kicked from outpost lobby Change 3013712 on 2016/06/14 by Bob.Tellez #UE4 Fix DrawNetDriverDebug crash during map transitions Change 3013418 on 2016/06/14 by Mark.Satterthwaite Don't release Metal buffers directly into the buffer pool, instead defer this until the command-buffer is known to have finished. This prevents the CPU from trying to modify the buffer while the GPU is still reading it if the GPU has fallen so far behind the CPU and therefore eliminates one possible cause of invalid access on the GPU. #jira FORT-24510 Change 3013394 on 2016/06/14 by Mark.Satterthwaite Report Metal command-buffer failures in MetalQuery in the same way as MetalCommandList and make them fatal as well. This ensures that the game doesn't try to continue if the commands failed as that is unsafe. #jira FORT-24808 Change 3012977 on 2016/06/14 by Fred.Kimberley Add a blueprint exposed function to evaluate an attribute from a given base value. Change 3012755 on 2016/06/14 by Bob.Tellez #UE4 ExclusiveInternalFlags is now respected when passing in a null ObjectPackage in StaticFindObjectFastInternalThreadSafe #JIRA FORT-113 Change 3011948 on 2016/06/13 by Mark.Satterthwaite Workaround a Fortnite crash on launch for Mac OpenGL - one or more shaders are using the bit-cast operators (asuint(), asfloat()) that aren't available with GLSL version 150. In order to use them the GLSL version must be 330 which means switching the version tag at runtime. There will be Mac GPUs on 10.10.5 which don't correctly implement these instructions so this really isn't a fix - that would be to change shaders to not use SM5-level instructions. Change 3011659 on 2016/06/13 by Bob.Tellez #UE4 Better handling of checked state in SGameplayTagWidget::IsTagChecked. Checking direct child tags was not sufficient and also not needed since HasTag allows you to follow parent tags when checking for an explicit tag. Change 3011647 on 2016/06/13 by Rob.Cannaday Fix for multiple account login not kicking previous logins Client was not parsing response from backend. Client was expecting content-type to be "application/json" (using FString::Equals). Backend was returning "application/json;charset=UTF-8". Changed usage from FString::Equals to FString::StartsWith #jira FORT-25452 #tests multiple account login, frontend only Change 3011436 on 2016/06/13 by Nick.Cooper #UE4 - Added bRelativeToInitialFOV option to UCameraAnim, defaulting to true. If turned off, camera anims will use the camera's current FOV as the initial FOV for the animation #jira FORT-23606 Change 3010411 on 2016/06/12 by Bob.Tellez #UE4 Fix for a possible case where a reference to an async loading package that would contain a level gets replicated before the level it contains is fully serialized, causing network loading code client side to attempt to load the package even though it is not allowed to load maps. #jira FORT-113, FORT-22222 Change 3009885 on 2016/06/10 by Billy.Bramer #jira FORT-25361 [FORT-25361] Health and shield values are incorrect when slotting survivors with bonuses - Fix some resultant bugs from swapping attributes to be struct-based: - Fix issue wherein the initial creation of the client-side aggregator could be initialized with the computed final value from the server, resulting in incorrect client-side math - Fix issue where subsequent changes to the aggregator's base value on the client would be lost Change 3009514 on 2016/06/10 by Bob.Tellez #UE4 Remove final usage of the task graph in WmfMediaPlayer to dodge shutdown crashes. Change 3009197 on 2016/06/10 by Michael.Trepka Disabled reverb on Mac again. It's too expensive and doesn't fix FORT-22090 anyway Change 3008392 on 2016/06/09 by Ben.Zeigler #jira FORT-25244 Change it so application error codes like 400/404 do not cause the mcp to think it is disconnected from the backend. Only 408, 501, 502, and 504 now result in ServiceUnavailable. Change 3008106 on 2016/06/09 by Lukasz.Furman fixed cutting corners near navmesh obstacles in detour crowd's string pulling #jira FORT-24981 Change 3008039 on 2016/06/09 by Bob.Tellez #UE4 Fixed conversion of TAssetPtr to UObject* properties for the case where the referenced object is not already loaded. Change 3007864 on 2016/06/09 by Fred.Kimberley Updates to supporting attributes as structs. Adding functionality that makes them easier to use and override in projects. Change 3007682 on 2016/06/09 by Michael.Trepka Re-enabled reverb on Mac Change 3006971 on 2016/06/08 by Saul.Abreu #fortnite #jira FORT-25169 Added node costs types, cost amounts, and remaining balance for each cost type to the NodePurchase analytics event. Change 3006933 on 2016/06/08 by Chris.Gagnon Fixed up all the Power levle widget use cases. #Jira FORT-23472, FORT-24132, FORT-24144, FORT-24952, FORT-24924 Change 3006633 on 2016/06/08 by Dmitry.Rekman Linux: propagate ensure message to the CR (FORT-23030). - Without this, ensure() has a generic "SIGTRAP" error message, which is misleading for QA. #tests Tried "debug ensure" a few times, observed crash report (on the website) with the proper message #jira FORT-23030 Change 3006036 on 2016/06/08 by Rob.Cannaday Remove warning about missing "recentplayers" field. The absence of the field is gracefully handled in the client and is only absent if the list is absent on the server. #jira FORT-18687 Change 3005216 on 2016/06/07 by Bob.Tellez #UE4 Avoiding layout invalidation if you use SetEnabled to set an identical enabled state. This is the same as how SetVisibility works. Change 3004857 on 2016/06/07 by Rob.Cannaday Fix for incorrect reason displayed for inability to join party #jira FORT-13517 Change 3004811 on 2016/06/07 by Michael.Trepka Increased the number of input buses for CoreAudio 3D Mixer to support 64 audio channels. Also, added a warning to FAudioDevice::StartSources so it doesn't silently ignore sound source initialization failures. Change 3004553 on 2016/06/07 by Lukasz.Furman fixed AnySpawners activating before navmesh unlock & rebuild #jira FORT-25067 Change 3004083 on 2016/06/07 by Bob.Tellez #UE4 Fixing GenerateApplicationPath for monolithic games. Change 3003457 on 2016/06/06 by Bob.Tellez #UE4 Add a little info to a warning about failing to load a file for streaming. Change 3003256 on 2016/06/06 by Bob.Tellez #UE4 Fixed a bug where not having a crash report would cause CrashReportClient not not properly exit on Mac Change 3003146 on 2016/06/06 by jonathan.lindquist switching from a ceil and lerp technique to an if statement to provide better transform results. Change 3002048 on 2016/06/06 by Daniel.Broder Support for setting Scalar and Vector Materials by Index rather than by name on MIDs. This feature allows much better performance in cases where large numbers of parameters are being set per frame and where the indices can be cached by the calling code in an initialization step. #RB Stephan.Delmer #CodeReview Bob.Tellez #UE4 #ReleaseNote Change 3001315 on 2016/06/05 by Daniel.Broder Fixed crash that could occur when the FPhysScene* was null (the world has no PhysicsScene) in USkeletalMeshComponent::TermArticulated(). That could happen when loading a world without fully instantiating it, such as when right-clicking a world in the context browser rather than opening the world directly. #RB Stephan.Delmer Ori, I wasn't sure if the whole line (and the line below it using PScene) should be moved within the if (PhysScene) block or not, but this change seems to fix it. If they can safely be moved, that would be presumably more efficeint though (since we'd only compare vs. nullptr once). #CodeReview Ori.Cohen #UE4 #Fortnite #BugFix Change 3001001 on 2016/06/04 by Fred.Kimberley Added meta data about attributes and a post serialize function so we can recover attributes that have changed their type. Adding Fortnite specific attribute type specialization. This type enforces minimum and maximum values for attributes. Change 3000613 on 2016/06/03 by Sam.Spiro #fort online 24747 Take change from SamZ to get connection change delegates firing correctly Add a delegate to the frontend player controller to logout if the connection goes bad (when all retries have failed) #RB Ben.Zeigler Change 3000482 on 2016/06/03 by Rob.Cannaday Fix problem where newly added friends don't recognize party invitations #jira FORT-19415 From CL 2953432: Ignore presence updates for local user with different resources #jira OR-19929 #tests front end party invites Change 2998044 on 2016/06/02 by Lukasz.Furman fixed path box intersection test used to verify if hotspot is still required for updated path #jira FORT-24422 Change 2997948 on 2016/06/02 by Eric.Newman Moved ProdCom to bottom of file w/ deprecation comment, and clarified deprecation criteria. Will probably need to be removed in //UE4 first and check for any fallout from EC jobs failing Change 2997660 on 2016/06/02 by Chris.Wood Changed Linux server crash handler to force CRC log paths to match main engine log. [UE-30259] - Some server crashes are missing from crashreporter database Should allow us to have CRC logs uploaded to S3 along with main logs easily. Change 2996702 on 2016/06/01 by Bob.Tellez #UE4 You can now use Edit Asset on Level assets in the reference viewer. Change 2996683 on 2016/06/01 by Tim.Tillotson #fortnite Fix analytics comments, changed a few NULL to nullptr, and removed stale code. #JIRA FORT-23833 Change 2996548 on 2016/06/01 by Bob.Tellez #Fortnite Fixing up or deleting remaining references to homebase buildings. HBOnboarding_BuildHeroBuilding is the last reference now and it will be removed soon. Change 2996322 on 2016/06/01 by Bob.Tellez #UE4 Fix for specifying more than one ini override on the command line Change 2996306 on 2016/06/01 by Bob.Tellez #UE4 Delete unneeded and broken script to unlock files in xcode. Does not work since XCode 6.3. Change 2995634 on 2016/06/01 by Jonathan.Lindquist imrpoving the wind magnitude and noise texture Change 2995249 on 2016/05/31 by Bob.Tellez #UE4 Importing "INVALID" in FUniqueNetIdRepl no longer triggers the warning about using ImportText during cook. Change 2992135 on 2016/05/26 by Bob.Tellez #UE4 extern for GuardedMain in LaunchLinux to fix nonunity Change 2991912 on 2016/05/26 by jonathan.lindquist moved a texture sample into a new grouping Change 2991738 on 2016/05/26 by Bob.Tellez #UE4 Level SaveAs now duplicates the world before saving it. This fixes a problem where level assets had the same guids for objects saved in them, which causes LazyObjectPtr issues when they are both in memory at the same time since they can not be uniquely identified. Change 2991449 on 2016/05/26 by Lukasz.Furman AI Ftests will now delay spawning until navmesh is ready #fortnite Change 2990705 on 2016/05/25 by Chris.Gagnon New stats panel, upon stat changes there is a delta pop up. New Squads Tab. Navigation from nodes to squad slots working. Added GetAnimationCurrentTime() to UMG Animation API. #RB Fred.Kimberley, Saul.Abreu Change 2990286 on 2016/05/25 by Bob.Tellez #UE4 Fix logging error regarding max tag container replication size Change 2990285 on 2016/05/25 by Bob.Tellez #UE4 Fix for crash when using "ShowDebug Game" client side Change 2989977 on 2016/05/25 by Lukasz.Furman auto generating navigation bounds from building grid data, UnitNavMeshBounds volume is no longer required #fortnite Change 2989174 on 2016/05/24 by Bob.Tellez #UE4 Added GC reason to the log message declaring that we are doing a GC during the cook commandlet. Change 2988571 on 2016/05/24 by Jonathan.Lindquist submitting a fix for grass-like hierarchy layouts Change 2985428 on 2016/05/20 by Bob.Tellez Experimenting with making UGS CIS not rebuild UBT when incremental building. Change 2985319 on 2016/05/20 by Bob.Tellez #UE4 Removing NumActorChannelsReadyDormant stat as it is somewhat expensive to calculate. Change 2985258 on 2016/05/20 by Billy.Bramer - Add GetFloatAttributeBase and GetFloatAttributeBaseFromAbilitySystemComponent to AbilitySystemBlueprintLibrary, allows querying for a base value of an attribute Change 2985157 on 2016/05/20 by Bob.Tellez Experimenting with non-unity CIS Change 2984664 on 2016/05/19 by Bob.Tellez #UE4 Pasting multiple cells into the property matrix no longer depends on your selected tiles, only your target cell. This is to match the behavior in Excel. Pasting a single cell into multiple cells remains unchanged. Change 2984663 on 2016/05/19 by Bob.Tellez #UE4 Fixed a crash in the property matrix involving going into edit mode on rows that include widgets that are not editable. Change 2984613 on 2016/05/19 by Bob.Tellez #UE4 You can now text import gameplay tags by directly using the tag string (i.e. Evolution.Hero.Soldier). This allows pasting these strings directly into the property matrix or other property-based editors. Change 2984508 on 2016/05/19 by Billy.Bramer - Add constructors for the new struct based attribute Change 2983883 on 2016/05/19 by Lukasz.Furman disabled movement mode in EQS testing pawn to prevent it from falling at PIE start #ue4 Change 2983770 on 2016/05/19 by Bob.Tellez #UE4 Fixed a bug where "OutputToScreen" BP messages would get stuck disabled after a screenshot (using a number of different codepaths). All screenshots now preserve the state of the "suppress messages" bool. #JIRA FORT-24303 Change 2982306 on 2016/05/18 by Bob.Tellez Also experimenting with not updating version files in UGS CIS. Change 2982154 on 2016/05/18 by Lukasz.Furman changed navwalking geometry conforming to use building prop special case #jira FORT-24215 Change 2982019 on 2016/05/18 by Bob.Tellez Trying out incremental CIS builds Change 2981192 on 2016/05/17 by Bob.Tellez #UE4 No longer staging movie files for dedicated server builds. Change 2981023 on 2016/05/17 by Lukasz.Furman added new mode for NavWalking geometry conforming: prefer height closer to current one this should allow standing on top of props or walking off them in lower LOD, instead of moving at ground level - needed for survivors on low cars Change 2980578 on 2016/05/17 by Lukasz.Furman added option for disabling path replan in crowd manager, turned it off in fortnite this must be handled through path update events and corridor assignment or else hotspot detection will break #jira FORT-24116 Change 2980364 on 2016/05/17 by Lukasz.Furman unified bounds tests for applying navmesh modifiers, always expanding bounds one cell height on Z axis to cover for voxelization roundings #jira FORT-24045 Change 2980360 on 2016/05/17 by Lukasz.Furman more detailed logs for using custom navlinks #jira FORT-23990 Change 2979880 on 2016/05/16 by Bob.Tellez #UE4 Raising scalability threshold for high end machines to adjust for modern hardware. Change 2979522 on 2016/05/16 by Saul.Abreu #fortnite Added IsValid BP-exposed method for FGameplayAttribute (which is already a BP-exposed struct type), as there is no existing method of validating a gameplay attribute from blueprints. Useful for UI that represents an attribute. Change 2977690 on 2016/05/13 by Daniel.Broder Made most FBox functions FORCEINLINE to improve DebugGame performance. #Fortnite: This change (just on IsInsideOrOn()) improved DebugGame performance for one part of Wind performance in Fortnite by ~18%. #CodeReview Bob.Tellez #UE4 #ReleaseNotes Change 2977517 on 2016/05/13 by Daniel.Broder Added ForceInline to TIndexedContainerIterator<...>::operator!=(...). This change improved DebugGame performance of a for loop using ranged-based syntax by ~27%! #CodeReview Bob.Tellez #Fortnite Wind perf improvement in DebugGame builds. #UE4 #ReleaseNote Change 2974910 on 2016/05/11 by Bob.Tellez #UE4 More graceful handling of export class names in string asset references. Change 2974095 on 2016/05/11 by Bob.Tellez #UE4 Fixed a bug where the RenderTargetOutputFormat for velocity rendering when using r.BasePassOutputsVelocity=True was using the wrong output index. Change 2973663 on 2016/05/11 by John.Abercrombie [implemented by Ben.Marsh] UBT: Add a config setting to allow overriding the output directory for PCH files. To use, edit Engine\Saved\UnrealBuildTool\BuildConfiguration.xml and add: <BuildConfiguration> <PCHOutputDirectory>D:\TestOutputDir</PCHOutputDirectory> </BuildConfiguration> Change 2972603 on 2016/05/10 by Saad.Nader #Fort Added the catalyst to the requirements of an evolvable item. It will only disable the evolution button if there is a catalyst. Change 2971741 on 2016/05/09 by Bob.Tellez #UE4 Adding more context to an error message about serializing FUniqueNetIdRepl during cook. Change 2969838 on 2016/05/06 by Bob.Tellez #Fortnite Added FN PS4 to build scripts Change 2969542 on 2016/05/06 by Bob.Tellez #UE4 Fixed a crash that involved renaming SCS nodes during compile on load. #JIRA FORT-23754 Change 2969520 on 2016/05/06 by Billy.Bramer - Fix missing virtual destructor now that the initter struct has virtual members Change 2969467 on 2016/05/06 by Billy.Bramer - Change FAttributeSetInitter to only contain pure virtual functions in preparation for making it easier to provide a custom implementation per game - Change the existing example FAttributeSetInitter to be called FAttributeSetInitterDiscreteLevels, make it derive from FAttributeSetInitter (DiscreteLevels is now allocated by default for now) - Add support for the new struct-based attribute type to FAttributeSetInitterDiscreteLevels - Fix typos in the initter - Convert usages of FString in AbilitySystemGlobals to FStringAssetReference, where appropriate - Allow attribute init data to come from several curve tables instead of just one - Remove reimport bindings from attribute metadata and global curve table, as neither was in use Change 2969279 on 2016/05/06 by John.Abercrombie Behavior tree auxilary nodes, parallel tasks, active tasks, and aborting tasks shouldn't be ticked while the behavior tree is paused Change 2966311 on 2016/05/04 by Rob.Cannaday Fix PS4 Orion players being able to whisper chat with non-Orion players #jira OR-20626 #tests chat with launcher, fortnite (From //Orion/Dev-General CL 2963555) Change 2966255 on 2016/05/04 by Bob.Tellez #UE4 Added an ensure to track down the cause of FORT-23604 and to gracefully recover from what would have been a crash. #JIRA FORT-23604 Change 2966083 on 2016/05/04 by Bob.Tellez #UE4 Adjusted material quality level for "Medium" settings to medium quality. High quality is still used in High and Epic scalability levels. Change 2965669 on 2016/05/04 by Nicholas.Davies Change the restricted platform ID to PSN to prevent Fortnite > PS4 paragon whisper chat #OPP-5268 Integrate PS4 Chat block Social and OSS code to Fortnite, UT, and Launcher #RB Antony.Carter Change 2965316 on 2016/05/03 by Ben.Zeigler #jira FORT-23600 Fix issue where stalled mcp queries never finished. This causes the query to properly fail Manual merge of CL #2907874: When MCP cancels a request due to its required auth failing, the http retry system would never kick off the complete delegates. This was due to the system only adding a request to its list once ProcessRequest was called, which does not happen in the above case. The fix is to add the request to the list when it is cancelled if we did not find it. Change 2965164 on 2016/05/03 by Bob.Tellez #UE4 Fix for Crash in WmfMedia for when the player is destroyed while loading media. Thanks MaxP! Change 2963754 on 2016/05/02 by Billy.Bramer - Switch ability system from binding to OnPostWorldCreation to PreLoadMap for its cleanup functions, as OnPostWorldCreation is called repeatedly with sublevels and can cause data loss - This is a bit of a stopgap, as where and when this happens should probably be configured per game (example: a long session game like an MMO would want to trigger these on something other than a map transition possibly) Change 2962922 on 2016/05/02 by Lukasz.Furman fixed gameplay debugger in "simulate in editor" mode Change 2959860 on 2016/04/28 by David.Nikdel #OGF #McpProfile - Add Profile Write Lock support to client API NOTE: Still need to finish backend support so haven't been able to test yet but this is enough for API hookup NOTE2: You may see a log message about "write lock unexpectedly released" when you do your first command after locking. This is expected because the backend isn't sending down the write lock timeout yet. #CodeReview: Ben.Zeigler Change 2959810 on 2016/04/28 by Jonathan.Lindquist A few more saftey measures to warn the user of incorrect settings and faulty meshes. (In response a licensee's question) Change 2959336 on 2016/04/28 by Bob.Tellez #UE4 Some improvements to asset save time: Added an early-out in PackageBackup to avoid inspecting files in cases where we don't care about the resutls. Also now using GetObjectsWithOuter when passing in a package list to GetObjectsInPackages (which probably should be renamed to GetAssetsInPackage) Change 2958942 on 2016/04/28 by Jonathan.Lindquist Wrote a new portion of pivot painter 2 that unifies edge normals across multiple static meshes Change 2958644 on 2016/04/27 by Jonathan.Lindquist lowering default recursive steps Change 2956612 on 2016/04/26 by Jonathan.Lindquist A few new saftey measures Change 2956197 on 2016/04/26 by Fred.Kimberley Fix a bug where a delegate won't be fired if the base value of an attribute has been changed and the attribute is the new type and doesn't have an aggregator. Fix a bug in gameplay effect tag matching where the deprecated tag is being checked but not the current one. Change 2955386 on 2016/04/25 by Jonathan.Lindquist Fixed a ui bug related to the first time path geo generator is run Pivot painter 2 has a new feature. It duplicates each model in a hierarchy, combines them and then welds their verts. Change 2955230 on 2016/04/25 by Billy.Bramer - Add a debug gameplay tag to string blueprint function, should only be used for debugging purposes Change 2954899 on 2016/04/25 by Fred.Kimberley Added a new backing data type for gameplay attributes. The new type holds both the current and base values. Currently, this new type can coexist with numeric types for gameplay attributes. Change 2953511 on 2016/04/22 by Bob.Tellez #UE4 Bumping up texture streaming pool allowance for min spec and redistributing mid an high to match. Also reduced mip bias at min spec. Change 2953496 on 2016/04/22 by Chris.Gagnon When the console closes it now properly restores the viewports input state (both focus and capture). Change 2952930 on 2016/04/22 by Lukasz.Furman fixed behavior tree getting stuck on instantly finished gameplay tasks #jira FORT-23041 Change 2951765 on 2016/04/21 by John.Abercrombie Removed unused code when initializing attribute sets Change 2951617 on 2016/04/21 by Jonathan.Lindquist new elements to the grass shader to include wind influence also adding a test model and the latest version of canopy creator Change 2950861 on 2016/04/21 by Jonathan.Lindquist Submitting a new material for grass so that it may react to the wind New wind test maps Functions to support global wind a new "fuzzy" mat functions Adding wind to the rift portals Change 2950725 on 2016/04/20 by Bob.Tellez Fixups for non NewEC in GetLastSucceededCL Change 2950695 on 2016/04/20 by Bob.Tellez Adding a small helper function to get the last succeeded CL of a given node. Change 2950616 on 2016/04/20 by Maury.Mountain hook up the pivot (+ (0,-1,0)) section of material function that was causing offset motion from pivots Change 2950207 on 2016/04/20 by Bob.Tellez #UE4 NoTimeouts is now respected even in the initial connection timeout. This fixes a bug where a large stall when starting pie causes you to transition to the entry map. Change 2950162 on 2016/04/20 by Lukasz.Furman fixed processing of repath requests, added infinite loop protection #jira FORT-23090 Change 2949974 on 2016/04/20 by Lukasz.Furman another batch of fixes for hotspot tasks getting out of sync: abort move is now ignored if instigated by new task at goal, clearing hotspot data on dying while gameplay tasks are still accessible, ignoring move resume when controller is being destroyed Change 2949923 on 2016/04/20 by Rob.Cannaday FOnlineIdentityMcp: Cancel ClientAuthRequests and ExternalAuthRequests on shutdown #tests PIE start game / shutdown Change 2949210 on 2016/04/19 by Bob.Tellez #UE4 Removing all local players from the game instance when it is shut down. This ensures that local players are properly torn down and events related to the lifespan of the player or controller are fired when exiting the game normally. #JIRA FORT-23024 Change 2947381 on 2016/04/18 by Rob.Cannaday Change XMPP presence, pubsub, messages, multi user chat, and chat's ref counting to be thread safe #jira FORT-22861 #tests front end partying Change 2945301 on 2016/04/15 by Michael.Trepka Reset SyncStatus in FAvfMediaVideoTrack::SeekToTime to fix issues with video not updating after rewind Change 2944422 on 2016/04/14 by Michael.Trepka Fixed Mono compile errors in UAT Change 2944375 on 2016/04/14 by Fred.Kimberley Changed how we handle missing gameplay tags so we now ensure once per missing tag instead of only ensuring on the first missing gameplay tag. Change 2944040 on 2016/04/14 by Michael.Trepka Fixed a problem with CoreAudio AudioUnitGraph update caused by adding and deleting the same node in a single tick Change 2943864 on 2016/04/14 by Lukasz.Furman fixed initialization order of gameplay debugger replicators on client #jira FORT-22885 Change 2943228 on 2016/04/13 by Bob.Tellez #UE4 Moved the addition of the IsDataOnly tag out of the if (ParentClass) block. Tags should not be dynamically added like this or else they can not be discovered by the editor which relies on asking the CDO for the tags relevant to an asset type. Change 2942303 on 2016/04/13 by Daniel.Broder Added support to be able to set a CanvasRenderTarget2D NOT to clear to green whenever it's updated (so you can just draw pixels that have changed instead of always having to redraw everything. #RB Bob.Tellez #UE4 Change 2941919 on 2016/04/13 by Jonathan.Lindquist Adding a new maxscript that allows artists to procedurally generate trees. Change 2941816 on 2016/04/13 by Saul.Abreu Demoted errors regarding widget-bound properties when first compling a new created widget blueprint - otherwise an ensure occurs. Change 2941752 on 2016/04/12 by jonathan.lindquist adding a new function to optimize trees and fix a few issues Change 2941519 on 2016/04/12 by Jonathan.Lindquist submitting a new warning regarding file unit types Change 2940980 on 2016/04/12 by John.Abercrombie Turned Graphs off by default in the Visual Logger Change 2940134 on 2016/04/11 by Billy.Bramer - Add support for new overrideable function OnPostDataImport to FTableRowBase; Can be override to perform custom parsing, fix-up, etc. per struct type whenever a data table is imported or reimported - Change row struct combo box on the data table importer to be sorted alphabetically Change 2938828 on 2016/04/08 by David.Hunt #FN || Economy Rebuild Updating several code references to items and item paths that no longer exist, with Bob's help. This fixes FORT-22784 (hopefully for real) and several other build and item errors. It also indicates that the various redirector issues I have been experiencing were likely red herrings - they were C++ defaults that were showing up on items that had nothing set, as opposed to redirects that failed. #CodeReview Bob.Tellez, Ben.Zeigler, William.Ewen, Carlos.Cuello Change 2938675 on 2016/04/08 by Lukasz.Furman fixed gameplay debugger displaying paths of killed pawns #fortnite Change 2938426 on 2016/04/08 by Rob.Cannaday Implement new command line party invitation format into Fortnite #jira FORT-22685 #tests launch with command line party invite Integrate CLs 2908339 and 2917498 from Orion Change 2938367 on 2016/04/08 by Billy.Bramer - Mark the reimport data table factory with UNREALED_API for external use - Change CSVImportFactory to respect the class of existing data being reimported upon Change 2937319 on 2016/04/07 by Lukasz.Furman improved gameplay task info in gameplay debugger tool Change 2937178 on 2016/04/07 by Lukasz.Furman fixed aborting undermine tasks when player becomes reachable #jira FORT-22240, FORT-22077 Change 2937166 on 2016/04/07 by Saul.Abreu Fixed redundant typename in TPair that was causing clang compilation errors. Change 2937093 on 2016/04/07 by Saul.Abreu #fortnite Made ElementSetType protected again in the Map family. Change 2937044 on 2016/04/07 by Saul.Abreu Tweaked Set/Map family of data structures to expose the typedefs for their key, value, and pair types. Change 2936940 on 2016/04/07 by Bob.Tellez #UE4 Fixed a bug that prevented the log summary from being printed after a blueprint compile. Change 2936696 on 2016/04/07 by Bob.Tellez #UE4 Blueprint names are once again part of Blueprint compile log messages. Change 2936572 on 2016/04/07 by Lukasz.Furman added more debug logs for tracking rare NaN error in player movement #jira FORT-19426 Change 2934892 on 2016/04/06 by Lukasz.Furman fixed updating hotspot information after all tasks instigated by it are finished #jira FORT-22515 Change 2933664 on 2016/04/05 by Michael.Trepka Fixed a rare crash in USoundNodeLooping::NotifyWaveInstanceFinished Change 2933554 on 2016/04/05 by Lukasz.Furman fixed taker's portal move (priorities of gameplay tasks spawned by path following) #jira FORT-22482 Change 2933343 on 2016/04/05 by John.Abercrombie Changed FGameplayAbilityActorInfo's AnimInstance property to a SkeletalMeshComponent in case AnimInstances are ever changed on a SkeletalMeshComponent - AnimInstance can be used through an accessor Change 2933300 on 2016/04/05 by Lukasz.Furman fixed number of spawned AI in FTests using PreSpawnDelay #fortnite Change 2933171 on 2016/04/05 by Lukasz.Furman added PreSpawnDelay param to function test spawn sets #fortnite Change 2931072 on 2016/04/01 by Lukasz.Furman changed pawn actions to gameplay tasks #jira FORT-21314 Change 2930987 on 2016/04/01 by Billy.Bramer - Add method to data table to get all rows as a type - Add metadata tag for data table rows to report columns as DataTableImportOptional, at which point they will not be warned against if missing during import (this allows games to do custom post-import fix-up or synthesis of data w/o expecting it to be imported) - Use new method for getting all tags to fix FORT-20563 "Gameplay tag table import checks by numerical row name for no reason" Change 2929651 on 2016/03/31 by Nick.Cooper #Fortnite - Fixed Actor AttachmentReplication not being cleared on detachment, which would cause issues with the actor's location for clients joining in progress #jira FORT-21330 #RB ben.zeigler Change 2929360 on 2016/03/31 by Daniel.Broder Fixed bug where CanvasRenderTarget2D assets would crash on load in editor due to trying to update the asset during post-load. Thanks to Bob for what I needed to check to early-out and avoid the crash. #RB Bob.Tellez #UE4 Change 2928845 on 2016/03/31 by Nicholas.Davies Add fix for chat text not clearing #jira FORT-22049 Textbox does not clear when text is sent through chat Change 2928574 on 2016/03/30 by Ben.Zeigler Fix issue with redirectors not working properly for blueprint function libraries. When a blueprint got regenerated it patched the old export, but failed to clear the "load failed" flag, so it would fail to find it when later pointed to by a redirect Change 2928572 on 2016/03/30 by Ben.Zeigler #Jira FORT-20763 Fix issue with "Server re-loading object" warning going off for deleted actors. It now only logs, and only for things that are going to successfully load Change 2928436 on 2016/03/30 by Bob.Tellez #UE4 Added Canvas Render Target factory and asset type actions so you can create them in the content browser and search for them after they are created. Change 2928372 on 2016/03/30 by Bob.Tellez #UE4 Added verbose message about animation assets that need to be resaved due to resetting the skeleton. Change 2926805 on 2016/03/29 by Bob.Tellez #UE4 Made SetOverallScalabilityLevel virtual so game-specific features can be updated based on a single-value level. Change 2926752 on 2016/03/29 by Bob.Tellez #UE4 Using DesiredScreenHeight is now optional. Often games use ResolutionQuality as purely a way to run better on slower machines so it should be controlled entirely by scalability. Change 2926189 on 2016/03/29 by Rob.Cannaday Change storing HTTP requests as raw pointers to weak pointers with validity being checked via Pinning it #jira FORT-18947 #jira OR-17695 #tests golden path Change 2924921 on 2016/03/28 by Lukasz.Furman removed log message showing as navmesh generation error when it skips over degenerated poly #fortnite Change 2924843 on 2016/03/28 by Lukasz.Furman added more debug logs for navmesh's failed triangulate() #jira FORT-22186 Change 2924719 on 2016/03/28 by Lukasz.Furman fixed offmesh link connection issue causing path portal edges to have duplicated data and breaking hotspot detection traces #jira FORT-22132 Change 2921698 on 2016/03/24 by Lukasz.Furman fixed EQS instancing queries by debug name instead of using unique one, fixed debug name on asset duplication #fortnite Change 2920395 on 2016/03/23 by Bob.Tellez #UE4 Added a call to FBaseServiceMcp::Shutdown() in FOnlineServiceAvailabilityMcp::Shutdown. The parent class doesnt do anything today, but this may fix a bug in the future. Change 2920343 on 2016/03/23 by Ben.Zeigler In ConvertScalarUPropertyToJsonValue, move the execution of the custom callback up above the specific property types. This is needed to allow us to override the TextProperty export, and allows overriding in general. It can have a performance implication if the custom callback is very slow #RB josh.markiewicz Change 2920310 on 2016/03/23 by Bob.Tellez #UE4 FOnlineServiceAvailabilityMcp::Init was not invoking the Superclass' Init Change 2920254 on 2016/03/23 by Aaron.McLeran FORT-22090 Re-disabling reverb. Will add an ini-based disabling ability but this CL quickly re-disables to resolve volume issue on FN and (hopefully) bypass crash mentioned in FORT-22037 Change 2920249 on 2016/03/23 by Rob.Cannaday Fix for crash in FOnlinePartySystemMcp::InternalCleanUpPartyMember Don't trigger "member left" type events if we are leaving the party #jira FORT-20422 #jira FORT-21726 Change 2920178 on 2016/03/23 by Bob.Tellez #UE4 Calling the platform-specific implementation of StackWalkAndDump when invoking StackWalkAndDumpEx. This fixes a bug in Windows where the first ensure does not produce a callstack. Change 2919858 on 2016/03/23 by Bob.Tellez #UE4 Fix for ensure about accessing a CVar in UParticleModuleLight on a non-game thread using GetValueOnGameThread. I changed this to GetValueOnAnyThread. Change 2919775 on 2016/03/23 by Bob.Tellez #UE4 Restoring enforced uniqueness in FUObjectAnnotationSparseSearchable and put all manipulations of InverseAnnotationMap in critical sections. This will make RemoveAnnotation fast again. Change 2919233 on 2016/03/22 by Bob.Tellez #UE4 Removing a warning that is pretty chatty in our cooked logs. Change 2919125 on 2016/03/22 by Bob.Tellez #UE4 Added ParticleLightQuality scalability setting since lower-end machines have trouble with particle lights. They are disabled on low and medium spec machines. HQ lights are only allowed on high-end machines. Change 2918831 on 2016/03/22 by Bob.Tellez #UE4 Fixed a bug where WinInet response headers were not properly being trimmed. #JIRA FORT-22054 Change 2917722 on 2016/03/21 by Ben.Zeigler Remove FortniteServer module and move those classes to FortniteGame. The engine doesn't support classes that only exist on servers but not clients, so this fixes a lot of error spam bugs, and should improve compile times Resave assets that directly referenced FortniteServer Change 2917588 on 2016/03/21 by Bob.Tellez #UE4 Fixed shadow variable that I introduced Change 2914169 on 2016/03/17 by Ben.Zeigler Disable extra logging that was added to track down Auth issues, they look to be resolved Change 2912626 on 2016/03/16 by Bob.Tellez #UE4 Success messages should not be warnings. Change 2911171 on 2016/03/15 by Bob.Tellez #UE4 Minor fix to correctly display GetBulkDataSize in the warning in FUntypedBulkData::WaitForAsyncLoading Change 2911170 on 2016/03/15 by Billy.Bramer #jira [FORT-6139] Trap models persist after destroying supporting structure in Outpost - Root issue was caused by error within network dormancy and queued bunches: If a dormant actor's open bunch ended up queued and a close bunch came in before the bunch was processed, the actor would never be properly destroyed client side as a result of not re-establishing the channel's actor pointer - Fix issue by changing close bunches to not be fully processed until their appropriate place in the queue. While this could cause superfluous execution (i.e. actor recreated just to be immediately destroyed), it should respect gameplay programming intent in regards to RPCs Change 2911009 on 2016/03/15 by Bob.Tellez #UE4 Fixed a bug in UHierarchicalInstancedStaticMeshComponent where RemoveInstances would not rebuild the ClusterTree, causing SortedInstances to contain incorect indices in GetInstancesOverlappingBox. This is the behavior of the singular RemoveInstance so this is what should also be done in the plural RemoveInstances. #JIRA FORT-21605 Change 2910295 on 2016/03/15 by Bob.Tellez #UE4 World thumbnails no longer cull primitives. This is because the camera is very far away and if terrain pieces are culled, the level is not visible. Change 2909324 on 2016/03/14 by Bob.Tellez #UE4 Since empty headers values cause GenerateHeaderBuffer to emit ERROR_HTTP_HEADER_NOT_FOUND, they are now omitted from the header buffer in WinInet. Change 2905920 on 2016/03/11 by Lukasz.Furman fixed crowd simulation getting stuck with invalid velocity (moonwalking husks) #fortnite Change 2905612 on 2016/03/11 by Bob.Tellez #UE4 Made the minimum quadtree size configurable in ProceduralFoliageSpawner. You need to reduce the minimum size a little if you are spawning very many small foliage meshes. [CL 3027184 by Bob Tellez in Main branch]
2016-06-24 16:58:12 -04:00
MessageLog.Warning(*NSLOCTEXT("K2Node", "OverridePinRemoval_BreakStruct", "Override pins have been removed from @@ in @@, please verify the Blueprint works as expected! See tooltips for enabling pin visibility for more details. This warning will go away after you resave the asset!").ToString(), this, GetBlueprint());
Merging //UE4/Release-4.11 to //UE4/Main (Up to CL#2867947) ========================== MAJOR FEATURES + CHANGES ========================== Change 2858603 on 2016/02/08 by Tim.Hobson #jira UE-26550 - checked in new art assets for buttons and symbols Change 2858665 on 2016/02/08 by Taizyd.Korambayil #jira UE-25797 Added TextureLODSettings for Ipad Mini set all LODBias to 2. Change 2858668 on 2016/02/08 by Matthew.Griffin Added InfiltratorDemo back into Rocket samples #jira UEB-591 Change 2858743 on 2016/02/08 by Taizyd.Korambayil #jira UE-25996 Fixed Import Error in TopDOwn Code Change 2858776 on 2016/02/08 by Matthew.Griffin Added UnrealMatch3 to packaged projects #jira UEB-589 Change 2858900 on 2016/02/08 by Taizyd.Korambayil #jira UE-15234 Switched all Mask Textures to use the (Mask,No sRGB) Compression Change 2858947 on 2016/02/08 by Mike.Beach Controlling more when VerifyImport() is ran - trying to prevent Verify() from running when DeferDependencyLoads is on, and instead trying to fully verify every import upfront (where it's meant to happen) before serializing in the package's contents (to alleviate cyclic dependency complications). #jira UE-21098 Change 2858954 on 2016/02/08 by Taizyd.Korambayil #jira UE-25524 Resaved Sound Assets to Fix NodeGuid Warnings Change 2859126 on 2016/02/08 by Max.Chen Sequencer: Release track editors when destroying sequencer #jira UE-26423 Change 2859147 on 2016/02/08 by Martin.Wilson Fix uninitialized variable bug #jira UE-26606 Change 2859237 on 2016/02/08 by Lauren.Ridge Bumping Match 3 Version Number for iTunes Connect #jira UE-26648 Change 2859434 on 2016/02/08 by Chad.Taylor Handle the quit and focus message pipe from the SteamVR SDK #jira UEBP-142 Change 2859562 on 2016/02/08 by Chad.Taylor Mac/Android compile fix #jira UEBP-142 Change 2859633 on 2016/02/08 by Dan.Oconnor Transaction buffer uniformly address subobjects and SCS created components via an array of names and a root object. This allows undo/redo to work reliably to any depth of object hierarchy. Removed FReferencedObject and replaced it with the robust FPersistentObjectRef. DefaultSubObjects of the CDO are now tagged as RF_Archetype at construction (logic in PropertyHandleImpl.cpp probably no longer required) Actors reinstanced due to blueprint compilation now have stable names, so that this name can be used to reference their subobjects. This is also part of the fix needed for UE-23335, completely fixes UE-26045 This version of the fix is less aggressive about searching all the way up an object's outer chain before stopping. Fixes issues with parts of outer chain changing on PIE. Also doesn't add objects referenced by subobject name to any AddReference calls which fixes race conditions with GC. Also fixes bad logic in CopyPropertiesForUnrelatedObjects, which would create copies of subobjects that already existed because we were populating the ReferenceReplacementMap before adding all existing subobjects (always components in this case) #jira UE-26045 Change 2859640 on 2016/02/08 by Dan.Oconnor Removed debugging code.. #jira UE-26045 Change 2859668 on 2016/02/08 by Aaron.McLeran #jira UE-26503 A Mixer with a Concatenator node won't loop with a Looping node - issue was the looping nodes weren't properly reseting all the child wave instances - also looping nodes weren't reporting the correct GetNumSounds() count for use with sequencer node Change 2859688 on 2016/02/08 by Chris.Babcock Allow external access to runtime modifications to OpenGL shaders #jira UE-26679 #ue4 Change 2859739 on 2016/02/08 by Chad.Taylor UE4_Win64_Mono compile fix #jira UEBP-142 Change 2859962 on 2016/02/09 by Chris.Wood Passing command line to Crash Report Client without stripping the project name. [UE-24959] - "Send and Restart" brings up the Project Browser #jira UE-24959 Reimplement changes from Orion in UE 4.11 Reimplementing the command line logging filtering over from Dev-Core (same change as CL 2821359 that moved this change into Orion) Reimplementing passing full command line to Crash Report Client (same change as CL 2858617 in Orion) Change 2859966 on 2016/02/09 by Matthew.Griffin Fixed shadow variable issue that was causing build failure in NonUnity mode on Mac [CL 2873884 by Ben Marsh in Main branch]
2016-02-19 13:49:13 -05:00
}
}
}
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 2973866) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2937390 on 2016/04/07 by Cody.Albert #jira UE-29211 Fixed slider to properly bubble unhandled OnKeyDown events Change 2939672 on 2016/04/11 by Richard.TalbotWatkin Made a change to how file check out notifications work. Now the dirty package state is processed at the end of every tick, meaning that packages which are dirtied and then cleaned again are not processed. This fixes an issue where a number of child blueprints were flagged as needing checkout when a parent blueprint was compiled. This also allows multiple packages which are dirtied at the same time to be treated as one transaction. #jira UE-29193 - "Files need check-out" prompt spams Blueprint users Change 2939686 on 2016/04/11 by Richard.TalbotWatkin A number of further improvements to mesh vertex color painting: * Lower LODs are now automatically fixed up for instances which were created in a previous bugged version of the engine. * Since lower LODs cannot currently have their vertex colors edited, their vertex colors are always derived from LOD0. * Fixed a bug when building lower LODs so that vertices in neighboring octree nodes are considered when looking for the nearest vertex from LOD0 which corresponds. * Fixed issue where static meshes with imported LODs would not have the lower LODs' override colors set when "Copy instance vertex colors to source mesh" was used (static meshes with generated LODs were always getting correct override colors). #jira UE-28563 - Incorrectly displayed LOD VertexColor until paint mode is selected Change 2939906 on 2016/04/11 by Nick.Darnell Automation - Adding several enhancements to the automation framework and improving the UI. * Tests in the UI now have a link to the source and line where they orginate. * There's now a general purpose latent lambda command you can use to run arbitrary code latently. * Added Inlined AddCommand for regular and networked commands to the base automation class, to avoid the use of the macro, which prevents breakpoints from working in lambda code. * Front end now has better column displays offering more room to the test name * Changed several events to the automation controller to multicast delegates so that many could hook them. * The UI now refreshes the selection after tests finish so that the output log updates. Change 2939908 on 2016/04/11 by Nick.Darnell Automation - The editor import/export tests are now a complex test and actually sperate out all the tests that can be run, some trickiness was required on the filenames so that they didn't expand into more child tests in the UI. (replacing .'s with _'s) Change 2940028 on 2016/04/11 by Nick.Darnell Automation - Removing the search box from the toolbar. It's now inlined above the test tree. Tweaking the padding to make it look more other windows and make everything not look so squished. Recursive expansion now works on tests. Change 2940066 on 2016/04/11 by Nick.Darnell Automation - Moving the filter group dropdown out of the toolbar and onto the line with the search box above the treeview - additional tweaks to it. Change 2940092 on 2016/04/11 by Jamie.Dale PR #2248: Datatable select next row (Contributed by FineRedMist) Change 2940093 on 2016/04/11 by Jamie.Dale PR #2248: Datatable select next row (Contributed by FineRedMist) Change 2940157 on 2016/04/11 by Jamie.Dale Fixing FTextTest due to some changes made to how currency is formatted Change 2940694 on 2016/04/12 by Richard.TalbotWatkin Fixed issue where vertex override colors were not being propagated correctly for generated lower LODs. #jira UE-29360 - Override Colors not propagated correctly to generated lower LODs Change 2942379 on 2016/04/13 by Richard.TalbotWatkin Fixed issue where entering PIE while selecting an actor in Mesh Paint mode could lead to a MeshPaintStaticMeshAdapter holding onto an invalid pointer to an old mesh component, and causing a crash upon leaving the mode. This can happen because, when loading a new streaming level, the proxy actor can be selected when starting PIE, which will subsequently be added to the tool's internal lists. This needs to be added as a GC reference so that it can be NULLed when forcibly destroyed. #jira UE-29345 - Crash occurs exiting the editor after enabling mesh paint mode and PIEing Change 2942947 on 2016/04/13 by Richard.TalbotWatkin Fixed crash when pasting a material function call node from one project to another in which it is not defined. #jira UE-27087 - Crash when pasting MaterialFunctionCall expressions into the material editor between projects Change 2943452 on 2016/04/14 by Richard.TalbotWatkin Updated F4 debug key binding to match what's in ShowFlags.cpp PR #2197 (contributed by mfortin-bhvr) Change 2943824 on 2016/04/14 by Alexis.Matte #jira UE-29090 Make sure we cannot open the color picker when a property is edit const Change 2943841 on 2016/04/14 by Alexis.Matte #jira UE-28924 tooltip was add for every hierarchy import option Change 2943927 on 2016/04/14 by Alexis.Matte #jira UE-29423 Add Obj support for scene importer Github PR #2272 Change 2943967 on 2016/04/14 by Richard.TalbotWatkin Added relevant fields from FBodyInstance to the FoliageType customizations. #jira UE-20138 - FoliageType has a FBodyInstance but only shows Collision Presets and not other FBodyInstance properties Change 2948397 on 2016/04/19 by Andrew.Rodham Moved FSlateIcon definition to SlateCore It was previously declared as SLATE_API, despite its header residing inside SlateCore. Reviewed by Jamie Dale. Change 2948805 on 2016/04/19 by Andrew.Rodham Editor: Deprecated FName UEdGraphNode::GetPaletteIcon(FLinearColor&); in favor of FSlateIcon UEdGraphNode::GetIconAndTint(FLinearColor&); to allow for icons in external style sets to be used. - Previously, all icons were assumed to reside within FEditorStyle, which is not the case and would create broken icons in the graph editor. All relevant code has been updated to use FSlateIcon structures instead of a simple name. - This change required a significant overhaul to FClassIconFinder to support FSlateIcons. To keep the API clean, FSlateIconFinder now deals with FSlateIcon class icon finding operations, and FClassIconFinder for the most part just adds actor specific logic. #jira UE-26502 Change 2950658 on 2016/04/20 by Alexis.Matte #jira UE-24333 Skinxx workflow, we now output an error if there is mix of material with skinxx and some with no skinxx suffix Change 2950663 on 2016/04/20 by Alexis.Matte #jira UE-29582 When exporting to fbx we have to export each material instance as one fbx material Change 2951240 on 2016/04/21 by Alexis.Matte #jira UE-28473 Make sure light are render properly after importing a fbx scene Change 2951421 on 2016/04/21 by Alexis.Matte #jira UE-29773 fbx skeletalmesh import now support mesh hierarchy Change 2955873 on 2016/04/26 by Richard.TalbotWatkin PR #2225: Fix working package directory from the launch profiles (Contributed by projectgheist) Change 2955965 on 2016/04/26 by Nick.Darnell Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor) Change 2956717 on 2016/04/26 by Andrew.Rodham Editor: World Outliner now correctly calls ProcessEditDelete on editor modes that have asked to process delete operations #jira UE-26968 Change 2956822 on 2016/04/26 by Andrew.Rodham Editor: Fixed actors not being removed from the scene outliner when they are added and removed on the same frame #jira UE-7777 Change 2956931 on 2016/04/26 by Nick.Darnell New Module - UATHelper - Moving the UAT launching code from the MainFrame module into a reusable module other modules can trigger. Change 2956932 on 2016/04/26 by Nick.Darnell Plugins - Now allowing you to package a plugin from the plugin browsing view. Still work in progress. Change 2957164 on 2016/04/26 by Nick.Darnell Hot Reload - Fixing hot reload, it no longer creates a temporary copy of the module manager. Making the copy constructor private on the module manager to prevent this in the future. Change 2957165 on 2016/04/26 by Nick.Darnell Fixing the Editor Mode plugin sample, it no longer provides a bad starting example for where to create your widgets. #jira UE-28456 Change 2957510 on 2016/04/27 by Nick.Darnell PR #2198: Git Plugin implement the Sync operation to update local files using the git pull --rebase command (Contributed by SRombauts) #jira UE-28763 Change 2957511 on 2016/04/27 by Andrew.Rodham Editor: Make favorites button on details panel non-focusable - This was preventing users being able to tab between value fields on the details panel Change 2957610 on 2016/04/27 by Nick.Darnell PR #1836: Git plugin: make initial commit when initializing new project (Contributed by SRombauts) #jira UE-24190 Change 2957667 on 2016/04/27 by Jamie.Dale Fixed crash that could happen in FTextLayout::GetLineViewIndexForTextLocation if passed a bad location #jira OR-18634 Change 2958035 on 2016/04/27 by Nick.Darnell Fixing the DesignerRebuild flag detection so that we can just refresh the slate widget without recreating the preview UObject, which causes the destruction of the details panel, and the slate widget recreation was the only part that was required. Change 2958272 on 2016/04/27 by Jamie.Dale Added FAssetData::GetTagValue to handle getting asset tag values in a type-correct way This allows type-conversion using LexicalConversion, and also has specializations for FString, FText, and FName. #jira UE-12096 Change 2958348 on 2016/04/27 by Jamie.Dale PR #2282: Slate font shutdown order fix (Contributed by FineRedMist) Change 2958352 on 2016/04/27 by Jamie.Dale Fixed the subtitle manager updating the wrong list of subtitles #jira UE-29511 Change 2958390 on 2016/04/27 by Jamie.Dale Removed some old placement-new style array insertions Change 2959360 on 2016/04/28 by Richard.TalbotWatkin Fixed potential crash when mesh painting actors whose geometry adapters are no longer registered. #jira UE-29615 - [CrashReport] UE4Editor_MeshPaint!FEdModeMeshPaint::DoPaint() [meshpaintedmode.cpp:1127] Change 2959724 on 2016/04/28 by Cody.Albert Merging hardware survey gating logic from 4.10 #jira UE-28666 Change 2959807 on 2016/04/28 by Cody.Albert Removed deprecated function call #jira UE-28666 Change 2959894 on 2016/04/28 by Cody.Albert Fix for scroll offset being clamped by content size, not scroll max #jira UE-20676 Change 2960048 on 2016/04/28 by Jamie.Dale Added FAssetData::GetTagValueRef to go along with FAssetData::GetTagValue #jira UE-12096 Change 2960782 on 2016/04/29 by Jamie.Dale Updating code to use the new FText aware asset registry tag functions #jira UE-12096 Change 2960885 on 2016/04/29 by Jamie.Dale Updating code to use the new FText aware asset registry tag functions #jira UE-12096 Change 2961170 on 2016/04/29 by Jamie.Dale Updating code to use the new FText aware asset registry tag functions #jira UE-12096 Change 2961171 on 2016/04/29 by Jamie.Dale Updating code to use the new FText aware asset registry tag functions #jira UE-12096 Change 2961173 on 2016/04/29 by Jamie.Dale Removed some inline duplication on the specialized template functions #jira UE-12096 Change 2963124 on 2016/05/02 by Jamie.Dale FExternalDragOperation can now contain both text and file data at the same time This better mirrors what the OS level drag-and-drop operations are capable of, and some applications will actually give you both bits of data at the same time. #jira UE-26585 Change 2963175 on 2016/05/02 by Jamie.Dale Updated some font editor tooltips to be more descriptive #jira UE-17429 Change 2963290 on 2016/05/02 by Jamie.Dale The Localise UAT command can now be run with a null localisation provider Change 2963305 on 2016/05/02 by Jamie.Dale Fixed minor typo Change 2963402 on 2016/05/02 by Jamie.Dale Cleaned up all the current localization key conflicts and warnings from gathering Engine code #jira UE-25833 Change 2963415 on 2016/05/02 by Jamie.Dale Rephrased a message that could generate a CIS warning #jira UE-25833 Change 2964184 on 2016/05/03 by Jamie.Dale Fixed duplicate "Font" entry in asset picker menu This was caused by PropertyCustomizationHelpers::GetNewAssetFactoriesForClasses using CanCreateNew rather than ShouldShowInNewMenu, as UFont has two factories, but one is supposed to be hidden from the UI. We also now make sure the factories are sorted by display name before being shown in the UI. #jira UE-24903 Change 2966108 on 2016/05/04 by Nick.Darnell Engine - Rearranging the order of ELoadingPhase's enums so that they match the loading order of modules. Change 2966113 on 2016/05/04 by Nick.Darnell [Engine Loop Change] UEngine now defines a Start() function, that subclasses can use to start game related things after initialization of the engine. This is done so that after the Init() call on UEngine, we can then perform a module load for the ELoadingPhase::PostEngineInit phase of loading, then inform the UEngine that it's time to start the game. Therefore, UGameEngine now tells the GameInstance to Start during this phase now. Change 2966121 on 2016/05/04 by Jamie.Dale Config writing improvements when dealing with property values This updates FConfigFile::ShouldExportQuotedString to make sure that a property value containing any characters that FParse::LineExtended will consume when parsing back in the config file (such as { and }, or a trailing \) cause the string to be quoted. This also adds FConfigFile::GenerateExportedPropertyLine to generate the INI key->value lines in a consistent and correctly escaped way, and makes sure that everything that writes out lines to a config file uses it. FConfigCacheIni::SetString and FConfigCacheIni::SetText have been updated to update the value even if it only differs by case. UObject::SaveConfig and UObject::LoadConfig have had some code whitespace fix-up (from a bad merge). Change 2966122 on 2016/05/04 by Jamie.Dale Added a setting to control dialogue wave audio filenames Change 2966481 on 2016/05/04 by Jamie.Dale PR #2336: BUGFIX: Selection of objects in the Content browser from WorldSettings (Contributed by projectgheist) Change 2966887 on 2016/05/04 by Jamie.Dale PR #2336: BUGFIX: Selection of objects in the Content browser from WorldSettings (Contributed by projectgheist) Change 2967488 on 2016/05/05 by Ben.Marsh Changes to support packaging plugins from the editor. * UBT now has an option to explicitly disable hot-reloading in any circumstances. * When running with -module arguments for a monolithic target, UBT will no longer try to relink the executable in source builds (so it's possible to compile plugin libs outside of an installed engine build without having already built UE4Game). * When packaging, a temporary host project is always generated in the output directory to avoid invalidating intermediates in the source directory. * An empty Config\FilterPlugin.ini file is written out with instructions on how to list additional files to package if it is not already present. Change 2967947 on 2016/05/05 by Nick.Darnell PR #2358: Properly display Mip Level Count and Format for UTexture2DDynamic Textures (Contributed by Allegorithmic) #jira UE-30371 Change 2968333 on 2016/05/05 by Jamie.Dale Fixed MultiLine not working with arrays of string or text properties - The detail customizations for FString and FText properties now read the meta-data off the correct property. - The UDS editor now lets you set the "MultiLine" meta-data on arrays of FString and FText properties. - Fixed changing the "MultiLine" flag on a UDS property not rebuilding the default value editor. - Fixed the default values panel in the UDS editor having a title area. #jira UE-30392 Change 2968999 on 2016/05/06 by Jamie.Dale Fixed infinite loop in the editor if a directory that is being watched is deleted #jira UE-30172 Change 2969105 on 2016/05/06 by Richard.TalbotWatkin Fixed issue where opening a submenu while the parent menu had a text box focused would lead to a crash. The graph node comment text widget now only dismisses all menus if the text commit info implies that it was committed by some user action. #jira UE-29086 - Crash When Typing a Node Comment and Hovering Over the Alignment Option Change 2969440 on 2016/05/06 by Jamie.Dale Significant performance improvements when pasting a large amount of text #jira UE-19712 Change 2969619 on 2016/05/06 by Andrew.Rodham Auto-reimport is now disabled inside an editor running in unattended mode Change 2969621 on 2016/05/06 by Jamie.Dale Added the ability to override the subtitle used on a dialogue wave This is useful for effort sounds, plus some other cases, such as characters speaking in a foreign language not known to the player. #jira UETOOL-795 Change 2970588 on 2016/05/09 by Chris.Wood Fix typo in operator expression in UEndUserSettings::SetSendAnonymousUsageDataToEpic() [UE-26958] - GitHub 2056 : Fixing typo in the operator #2056 Change 2971151 on 2016/05/09 by Chris.Wood Logging ensure fails as errors. Automated tests with ensure fails will be unsuccessful. [UE-19579] - If an ensure() fails within an automated test, the test can still show a positive result. [UE-26575] - GitHub 2030 : Add error-severity message to log on ensure. PR #2030 Change 2971267 on 2016/05/09 by Alexis.Matte Wrong parameter when calling GetImportOptions #jira UE-30299 Change 2972073 on 2016/05/10 by Richard.TalbotWatkin Fixed UModel methods which make surfaces as modified. #jira UE-28831 - Unable to undo material placement on BSP Change 2972329 on 2016/05/10 by Nick.Darnell Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor) Change 2972887 on 2016/05/10 by Alexis.Matte #jira UE-30167 We now import the geometric transform also when we uncheck the absolute transform in the vertex. Change 2973664 on 2016/05/11 by Nick.Darnell Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor) Change 2973717 on 2016/05/11 by Nick.Darnell Fixing compiler issues from main merge. #jira UE-30590 Change 2973846 on 2016/05/11 by Jamie.Dale Exposed FConfigValue::ExpandValue and added FConfigValue::CollapseValue These are both static and can be used to expand or collapse the macros used in our config files (mostly when dealing with paths), in code that has to deal with the config system, but isn't internal to the config system (mostly things that deal with default configs outside of UObjects). The old non-static version of FConfigValue::ExpandValue is now FConfigValue::ExpandValueInternal, which just calls FConfigValue::ExpandValue on SavedValue and ExpandedValue. This also changes some code that was using FString.Replace to use FString.ReplaceInline. This reduces allocations, and also allows us to avoid another string comparison to see whether the strings are identical (as ReplaceInline returns the number of replacements that were made). Change 2973847 on 2016/05/11 by Jamie.Dale Changing the loading phase in the localization dashboard now writes to the default config #jira UE-30482 Change 2973866 on 2016/05/11 by Jamie.Dale Deprecated some functions that were taking an unused position. These unused parameters caused confusion and lead to UE-30276. The old versions have been deprecated, and new versions without those parameters have been added. Existing code has been updated to call the non-deprecated version. - FViewportFrame::ResizeFrame - FSceneViewport::ResizeFrame - FSceneViewport::ResizeViewport [CL 2973886 by Nick Darnell in Main branch]
2016-05-11 11:05:13 -04:00
FSlateIcon UK2Node_BreakStruct::GetIconAndTint(FLinearColor& OutColor) const
{
static FSlateIcon Icon("EditorStyle", "GraphEditor.BreakStruct_16x");
return Icon;
}
FLinearColor UK2Node_BreakStruct::GetNodeTitleColor() const
{
if(const UEdGraphSchema_K2* K2Schema = GetDefault<UEdGraphSchema_K2>())
{
FEdGraphPinType PinType;
PinType.PinCategory = K2Schema->PC_Struct;
PinType.PinSubCategoryObject = StructType;
return K2Schema->GetPinTypeColor(PinType);
}
return UK2Node::GetNodeTitleColor();
}
UK2Node::ERedirectType UK2Node_BreakStruct::DoPinsMatchForReconstruction(const UEdGraphPin* NewPin, int32 NewPinIndex, const UEdGraphPin* OldPin, int32 OldPinIndex) const
{
ERedirectType Result = UK2Node::DoPinsMatchForReconstruction(NewPin, NewPinIndex, OldPin, OldPinIndex);
if ((ERedirectType_None == Result) && DoRenamedPinsMatch(NewPin, OldPin, true))
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
Result = ERedirectType_Name;
}
else if ((ERedirectType_None == Result) && NewPin && OldPin)
{
if ((EGPD_Input == NewPin->Direction) && (EGPD_Input == OldPin->Direction))
{
const UEdGraphSchema_K2* K2Schema = GetDefault<UEdGraphSchema_K2>();
if (K2Schema->ArePinTypesCompatible( NewPin->PinType, OldPin->PinType))
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
Result = ERedirectType_Name;
}
}
else if ((EGPD_Output == NewPin->Direction) && (EGPD_Output == OldPin->Direction))
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
FName RedirectedPinName = UProperty::FindRedirectedPropertyName(StructType, FName(*OldPin->PinName));
if (RedirectedPinName != NAME_Name)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
Result = ((FCString::Stricmp(*RedirectedPinName.ToString(), *NewPin->PinName) != 0) ? ERedirectType_None : ERedirectType_Name);
}
}
}
return Result;
}
FNodeHandlingFunctor* UK2Node_BreakStruct::CreateNodeHandler(class FKismetCompilerContext& CompilerContext) const
{
return new FKCHandler_BreakStruct(CompilerContext);
}
void UK2Node_BreakStruct::GetMenuActions(FBlueprintActionDatabaseRegistrar& ActionRegistrar) const
{
struct GetMenuActions_Utils
{
static void SetNodeStruct(UEdGraphNode* NewNode, UField const* /*StructField*/, TWeakObjectPtr<UScriptStruct> NonConstStructPtr)
{
UK2Node_BreakStruct* BreakNode = CastChecked<UK2Node_BreakStruct>(NewNode);
BreakNode->StructType = NonConstStructPtr.Get();
}
static void OverrideCategory(FBlueprintActionContext const& Context, IBlueprintNodeBinder::FBindingSet const& /*Bindings*/, FBlueprintActionUiSpec* UiSpecOut, TWeakObjectPtr<UScriptStruct> StructPtr)
{
for (UEdGraphPin* Pin : Context.Pins)
{
UScriptStruct* PinStruct = Cast<UScriptStruct>(Pin->PinType.PinSubCategoryObject.Get());
if ((PinStruct != nullptr) && (StructPtr.Get() == PinStruct) && (Pin->Direction == EGPD_Output))
{
UiSpecOut->Category = LOCTEXT("EmptyCategory", "|");
break;
}
}
}
};
UClass* NodeClass = GetClass();
ActionRegistrar.RegisterStructActions( FBlueprintActionDatabaseRegistrar::FMakeStructSpawnerDelegate::CreateLambda([NodeClass](const UScriptStruct* Struct)->UBlueprintNodeSpawner*
{
UBlueprintFieldNodeSpawner* NodeSpawner = nullptr;
if (UK2Node_BreakStruct::CanBeBroken(Struct, /*bIncludeEditAnywhere =*/false))
{
NodeSpawner = UBlueprintFieldNodeSpawner::Create(NodeClass, Struct);
check(NodeSpawner != nullptr);
TWeakObjectPtr<UScriptStruct> NonConstStructPtr = Struct;
NodeSpawner->SetNodeFieldDelegate = UBlueprintFieldNodeSpawner::FSetNodeFieldDelegate::CreateStatic(GetMenuActions_Utils::SetNodeStruct, NonConstStructPtr);
NodeSpawner->DynamicUiSignatureGetter = UBlueprintFieldNodeSpawner::FUiSpecOverrideDelegate::CreateStatic(GetMenuActions_Utils::OverrideCategory, NonConstStructPtr);
}
return NodeSpawner;
}) );
}
FText UK2Node_BreakStruct::GetMenuCategory() const
{
return FEditorCategoryUtils::GetCommonCategory(FCommonEditorCategory::Struct);
}
Merging //UE4/Release-4.11 to //UE4/Main (Up to CL#2867947) ========================== MAJOR FEATURES + CHANGES ========================== Change 2858603 on 2016/02/08 by Tim.Hobson #jira UE-26550 - checked in new art assets for buttons and symbols Change 2858665 on 2016/02/08 by Taizyd.Korambayil #jira UE-25797 Added TextureLODSettings for Ipad Mini set all LODBias to 2. Change 2858668 on 2016/02/08 by Matthew.Griffin Added InfiltratorDemo back into Rocket samples #jira UEB-591 Change 2858743 on 2016/02/08 by Taizyd.Korambayil #jira UE-25996 Fixed Import Error in TopDOwn Code Change 2858776 on 2016/02/08 by Matthew.Griffin Added UnrealMatch3 to packaged projects #jira UEB-589 Change 2858900 on 2016/02/08 by Taizyd.Korambayil #jira UE-15234 Switched all Mask Textures to use the (Mask,No sRGB) Compression Change 2858947 on 2016/02/08 by Mike.Beach Controlling more when VerifyImport() is ran - trying to prevent Verify() from running when DeferDependencyLoads is on, and instead trying to fully verify every import upfront (where it's meant to happen) before serializing in the package's contents (to alleviate cyclic dependency complications). #jira UE-21098 Change 2858954 on 2016/02/08 by Taizyd.Korambayil #jira UE-25524 Resaved Sound Assets to Fix NodeGuid Warnings Change 2859126 on 2016/02/08 by Max.Chen Sequencer: Release track editors when destroying sequencer #jira UE-26423 Change 2859147 on 2016/02/08 by Martin.Wilson Fix uninitialized variable bug #jira UE-26606 Change 2859237 on 2016/02/08 by Lauren.Ridge Bumping Match 3 Version Number for iTunes Connect #jira UE-26648 Change 2859434 on 2016/02/08 by Chad.Taylor Handle the quit and focus message pipe from the SteamVR SDK #jira UEBP-142 Change 2859562 on 2016/02/08 by Chad.Taylor Mac/Android compile fix #jira UEBP-142 Change 2859633 on 2016/02/08 by Dan.Oconnor Transaction buffer uniformly address subobjects and SCS created components via an array of names and a root object. This allows undo/redo to work reliably to any depth of object hierarchy. Removed FReferencedObject and replaced it with the robust FPersistentObjectRef. DefaultSubObjects of the CDO are now tagged as RF_Archetype at construction (logic in PropertyHandleImpl.cpp probably no longer required) Actors reinstanced due to blueprint compilation now have stable names, so that this name can be used to reference their subobjects. This is also part of the fix needed for UE-23335, completely fixes UE-26045 This version of the fix is less aggressive about searching all the way up an object's outer chain before stopping. Fixes issues with parts of outer chain changing on PIE. Also doesn't add objects referenced by subobject name to any AddReference calls which fixes race conditions with GC. Also fixes bad logic in CopyPropertiesForUnrelatedObjects, which would create copies of subobjects that already existed because we were populating the ReferenceReplacementMap before adding all existing subobjects (always components in this case) #jira UE-26045 Change 2859640 on 2016/02/08 by Dan.Oconnor Removed debugging code.. #jira UE-26045 Change 2859668 on 2016/02/08 by Aaron.McLeran #jira UE-26503 A Mixer with a Concatenator node won't loop with a Looping node - issue was the looping nodes weren't properly reseting all the child wave instances - also looping nodes weren't reporting the correct GetNumSounds() count for use with sequencer node Change 2859688 on 2016/02/08 by Chris.Babcock Allow external access to runtime modifications to OpenGL shaders #jira UE-26679 #ue4 Change 2859739 on 2016/02/08 by Chad.Taylor UE4_Win64_Mono compile fix #jira UEBP-142 Change 2859962 on 2016/02/09 by Chris.Wood Passing command line to Crash Report Client without stripping the project name. [UE-24959] - "Send and Restart" brings up the Project Browser #jira UE-24959 Reimplement changes from Orion in UE 4.11 Reimplementing the command line logging filtering over from Dev-Core (same change as CL 2821359 that moved this change into Orion) Reimplementing passing full command line to Crash Report Client (same change as CL 2858617 in Orion) Change 2859966 on 2016/02/09 by Matthew.Griffin Fixed shadow variable issue that was causing build failure in NonUnity mode on Mac [CL 2873884 by Ben Marsh in Main branch]
2016-02-19 13:49:13 -05:00
void UK2Node_BreakStruct::Serialize(FArchive& Ar)
{
Super::Serialize(Ar);
if (Ar.IsLoading() && !bMadeAfterOverridePinRemoval)
{
// Check if this node actually requires warning the user that functionality has changed.
bMadeAfterOverridePinRemoval = true;
FOptionalPinManager PinManager;
// Have to check if this node is even in danger.
for (TFieldIterator<UProperty> It(StructType, EFieldIteratorFlags::IncludeSuper); It; ++It)
{
UProperty* TestProperty = *It;
if (PinManager.CanTreatPropertyAsOptional(TestProperty))
{
bool bNegate = false;
if (UProperty* OverrideProperty = PropertyCustomizationHelpers::GetEditConditionProperty(TestProperty, bNegate))
{
// We have confirmed that there is a property that uses an override variable to enable it, so set it to true.
bMadeAfterOverridePinRemoval = false;
break;
}
}
}
}
else if (Ar.IsSaving() && !Ar.IsTransacting())
{
UBlueprint* Blueprint = FBlueprintEditorUtils::FindBlueprintForNode(this);
if (Blueprint && !Blueprint->bBeingCompiled)
{
bMadeAfterOverridePinRemoval = true;
}
}
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037) #rb None #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2825716 on 2016/01/12 by Marc.Audy Fix GrabDebugSnapshot virtual function definitions in Ocean Change 2828462 on 2016/01/14 by Marc.Audy Back out changelist 2825716 Change 3153526 on 2016/10/06 by Zak.Middleton #ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration. Related to OR-14528. Change 3153580 on 2016/10/06 by Benn.Gallagher Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings. #jira UE-36588 Change 3154264 on 2016/10/06 by Aaron.McLeran UE-37004 UE-37005 Fixing stat soundwaves Change 3154560 on 2016/10/07 by James.Golding UE-20739 Fix auto box in Morph Target Preview panel Change 3154776 on 2016/10/07 by Ben.Zeigler #Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more. Change 3154954 on 2016/10/07 by Ben.Zeigler Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set. Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly. Removed the Category map from gameplay tags, games are using other systems to do translateable text. Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality Change 3154955 on 2016/10/07 by Ben.Zeigler Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types Change 3154995 on 2016/10/07 by Aaron.McLeran UE-37012 fix compile issue Change 3155009 on 2016/10/07 by Aaron.McLeran UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp - Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere. Change 3155128 on 2016/10/07 by Ben.Zeigler Add old location of GameplayTagsEditor to junk manifest Change 3155268 on 2016/10/07 by Aaron.McLeran UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions Change 3155561 on 2016/10/07 by Ben.Zeigler GameplayTag fixes made based on code review feedback: Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library Remove direct access to the tag container internals as it has always been unsafe Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large Fix case where comparing two containers with the tags in different orders would fail Remove deprecated serialization entirely, print error when trying to load very old tags Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them Change 3155842 on 2016/10/07 by dan.reynolds AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets Change 3156779 on 2016/10/10 by Richard.Hinckley Fixing/reordering comments for basic types. Change 3156926 on 2016/10/10 by Ben.Zeigler Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries Change 3156998 on 2016/10/10 by Jon.Nabozny Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue. Change 3158732 on 2016/10/11 by Zak.Middleton #ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction. #jira UE-28610 Change 3159208 on 2016/10/11 by dan.reynolds Added ancillary SoundClass Passive Mix Modifier Duration Test map Change 3159211 on 2016/10/11 by Aaron.McLeran UE-37193 Fixing passive sound mix modifier Change 3159278 on 2016/10/11 by dan.reynolds AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes. Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint Change 3159596 on 2016/10/12 by danny.bouimad Updates to TM-Meshbake Change 3159629 on 2016/10/12 by James.Golding Add ModifyCurve anim node Make GetPinAssociatedProperty const correct Change 3159705 on 2016/10/12 by James.Golding Add 'ApplyMode' and 'Alpha' options to ModifyCurve node Change 3159959 on 2016/10/12 by John.Abercrombie Integrate CL 3159892 from //Fortnite/Main/... Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing #ue4 Change 3160014 on 2016/10/12 by Lukasz.Furman pass on gameplay debugger in Simulate in Editor mode #jira UE-36123 Change 3160027 on 2016/10/12 by Lukasz.Furman fixed behavior tree task restart conditions copy of CL 3159145 #ue4 Change 3160129 on 2016/10/12 by Lukasz.Furman gameplay debugger refactor: removed deprecated code #ue4 Change 3160389 on 2016/10/12 by Lukasz.Furman added missing include path to gameplay debugger module #ue4 Change 3160408 on 2016/10/12 by Lukasz.Furman refactored sanity checks in gameplay debugger EdMode to keep static analysis happy #ue4 Change 3161143 on 2016/10/13 by James.Golding UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error Change 3161227 on 2016/10/13 by danny.bouimad More changes to meshmergemap Change 3161777 on 2016/10/13 by Ben.Zeigler API changes for GameplayTag and Container, and fix Redirect loading Remove Match type and empty count as match bool from common API In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage. Change 3162095 on 2016/10/13 by Jon.Nabozny Fix bad default screen resolution in Platformer Game. #jira UE-34901 Change 3163351 on 2016/10/14 by Marc.Audy Avoid duplicate accessor calls Change 3163364 on 2016/10/14 by Marc.Audy Eliminate auto Use ForEachObjectWithOuter Change 3163367 on 2016/10/14 by Marc.Audy Use ForEachObjectWithOuter instead of GetObjectsWithOuter Change 3163500 on 2016/10/14 by Marc.Audy When using SetCullDistance property for static meshes correctly update the cached value #jira UE-36891 Change 3163674 on 2016/10/14 by Jon.Nabozny #rn Fix popping in OnRep_ReplicatedAnimMontage. #jira UE-37056 Change 3164818 on 2016/10/17 by Ori.Cohen Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll. Change 3164903 on 2016/10/17 by Lukasz.Furman fixed bug in merging behavior tree searches #ue4 Change 3165236 on 2016/10/17 by dan.reynolds Fixes and tweaks based on feedback: - Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load - Fixed Blueprint Control map to stop test when the player leaves the zone - Fixed Blueprint Contorl map typos Change 3165323 on 2016/10/17 by Aaron.McLeran PS4 Audio Streaming - Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming) - Wrote an AT9 real-time decoder module (will be used in audio mixer) - Enabled streaming on PS4 platform - Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer) - Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread - Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack - Fixed up error handling code in Ngs2 so it actually reports real errors Change 3165997 on 2016/10/18 by Richard.Hinckley Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues. Change 3166220 on 2016/10/18 by Aaron.McLeran UE-37442 Build Tools Win64 completes with 28 errors - Changing include of appropriate file to not be in #if WITH_ENGINE block Change 3166262 on 2016/10/18 by Aaron.McLeran UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class. Change 3166562 on 2016/10/18 by Aaron.McLeran UE-37441 Fixing compile on Mac - Renamed FFormatChunk to FRiffFormatChunk Change 3166653 on 2016/10/18 by Aaron.McLeran UE-37442 Build Tools Win64 completes with 28 errors Change 3166917 on 2016/10/18 by Aaron.McLeran UE-37502 Initializing missed data members in FNgs2SoundSource constructor Change 3167329 on 2016/10/19 by Benn.Gallagher Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates. #jira UE-37500 Change 3167575 on 2016/10/19 by Jon.Nabozny #rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode. #jira UE-37082 Change 3168079 on 2016/10/19 by Ori.Cohen Fix timing issue that causes snapshotpose to t-pose. #JIRA UE-37476 Change 3168392 on 2016/10/19 by dan.reynolds Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances. Change 3169121 on 2016/10/20 by danny.bouimad Updates to Merge actor assets Change 3169128 on 2016/10/20 by Danny.Bouimad files Change 3169230 on 2016/10/20 by Lina.Halper #improved log message Change 3169243 on 2016/10/20 by Ben.Zeigler #jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup. Add code to automatically convert from make/break struct nodes to native call function if there is a native override. This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak. Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped Add specific fixups for GameplayTag make/break functions Change 3169422 on 2016/10/20 by Aaron.McLeran UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features Change 3169620 on 2016/10/20 by Ben.Zeigler Switch GameplayTagTests to use the new Custom test macro and better failure reporting. Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works. Change 3169622 on 2016/10/20 by Ben.Zeigler Fix swapped HasAny logic and bad comments Change 3169645 on 2016/10/20 by Aaron.McLeran Re-adding call to Stop source Change 3169664 on 2016/10/20 by dan.reynolds AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive. Change 3169997 on 2016/10/20 by Ben.Zeigler Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger Change 3170796 on 2016/10/21 by Marc.Audy PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus) #jira UE-37632 Change 3170802 on 2016/10/21 by Lina.Halper #ANIM: curve can link to joints - this allows to filter certain curves per LOD - when the joint is discarded -> refactored editor object tracker to allow multiple per class -> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices - layer bone support #jira: UEFW-207 Change 3170857 on 2016/10/21 by Aaron.McLeran Disabling checking for device change Change 3171101 on 2016/10/21 by Ben.Zeigler Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty() Engine fixups for those changes Change 3171102 on 2016/10/21 by Ben.Zeigler Internal game fixups for tag deprecation Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them Some minor changes for Ocean Change 3171186 on 2016/10/21 by Ben.Zeigler File got missed in checkin Change 3171239 on 2016/10/21 by Wes.Hunt TPSAudit updates. * Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked. * Don't skip Content folders * Don't skip Engine\Documentation\HTML * Skip any Content\Localization folders instead of only Engine\Content\Localization * Skip any Content\Internationalization folders * Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files. * if a file has no extension (like configure files) then treat the filename as the extension * configure files are treated like shell files Change 3171245 on 2016/10/21 by Ben.Zeigler Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones. I am not sure why StaticFindObject is unsafe during save. Change 3171248 on 2016/10/21 by Wes.Hunt TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging. Change 3171256 on 2016/10/21 by Wes.Hunt ModuleManager shutdown fixes. * ShutdownModule is now called in reverse order to when StartupModule is FINISHED. * This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule. * HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback. * Added comments to Module headers to indicate this new change in behavior. * Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine. Change 3171258 on 2016/10/21 by Wes.Hunt ModuleManager shutdown fixes. * ShutdownModule is now called in reverse order to when StartupModule is FINISHED. * This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule. * HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback. * Added comments to Module headers to indicate this new change in behavior. * Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine. Change 3171946 on 2016/10/24 by Lina.Halper Fix so that it checks all the joints before removing Change 3172126 on 2016/10/24 by Lukasz.Furman added navlink component #ue4 Change 3172152 on 2016/10/24 by Jon.Nabozny Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps. UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti. #jira UE-36472 Change 3172364 on 2016/10/24 by Ben.Zeigler Codereview fixes for tag changes. Make Tag->Container constructor explicit to avoid bugs Fix some cases that were using exact to allow parents instead Change 3173442 on 2016/10/25 by Jon.Nabozny Fixed crash when opening Anim asset after retargetting. Change 3174123 on 2016/10/25 by Ben.Zeigler Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI. Change 3174394 on 2016/10/25 by dan.reynolds AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long). Change 3175197 on 2016/10/26 by Wes.Hunt Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust. #codereivew: sam.zamani,dmitry.rekman,josh.markiewicz Change 3175236 on 2016/10/26 by Jon.Nabozny Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points. Either segment may be considered a point if it's two points have a distance that's nearly 0. #jira UE-19251 Change 3175256 on 2016/10/26 by Jon.Nabozny Fix CIS for SegmentDistToSegmentSafe change. Change 3175379 on 2016/10/26 by Jon.Nabozny Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component. #jira UE-37582 Change 3175408 on 2016/10/26 by Marc.Audy AudioThreading improvements: Fix PS4 core 6 issue Add timeout spam Radical simplification Fix suspension CVar #authors Gil.Gribb/Marc.Audy #jira OR-30447 Change 3175535 on 2016/10/26 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266 Change 3175539 on 2016/10/26 by Marc.Audy Restore affinity for AudioThread and allow it on to 7th (rather than pinning it) Change 3175631 on 2016/10/26 by Marc.Audy Fix silly compile error Change 3175639 on 2016/10/26 by Aaron.McLeran Fixing audio device removal code - Flipping active sources to virtual mode - Handling initializing sources that have become virtual - Not stopping sounds when device is unplugged Change 3175665 on 2016/10/26 by dan.reynolds AEOverview update - Added a Streaming Overview sub test (Streaming Spam) Change 3175934 on 2016/10/26 by dan.reynolds AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms Change 3175941 on 2016/10/26 by Marc.Audy Fix compiler error after merge from Main Change 3176378 on 2016/10/27 by Jon.Nabozny Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation. Change 3176441 on 2016/10/27 by Jon.Nabozny Fix another CIS issue with SegmentDistToSegmentSafe change. Change 3176487 on 2016/10/27 by Jon.Nabozny Hide DemoRecorder from the scoreboard in ShooterGame. #jira UE-37492 Change 3176616 on 2016/10/27 by Lukasz.Furman optimized behavior tree debugger update in subtrees #jira UE-29029 Change 3176717 on 2016/10/27 by james.cobbett Test asset for UE-37270 Change 3176731 on 2016/10/27 by dan.reynolds AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case Change 3176887 on 2016/10/27 by Aaron.McLeran UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop - Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback #tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix. Change 3177053 on 2016/10/27 by Marc.Audy Actually reattach previously attached actors when creating a child actor #jira UE-37675 Change 3177113 on 2016/10/27 by Aaron.McLeran UE-37906 Fixing stat sounds when the audio thread is enabled. Change 3177536 on 2016/10/27 by Aaron.McLeran Updating QASoundWaveProcedural to support stereo procedural sound wave generation. Change 3177551 on 2016/10/27 by dan.reynolds AEOverview update - Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals - Added STRMOverviewStreamPriority to test Streaming Voice Priority Change 3177819 on 2016/10/28 by Thomas.Sarkanen Consolidated LOD screen size calculations Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0. HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes. Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version. Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution. Auto LOD now uses the same functionality to determine what LOD thresholds to use. #tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets. #tests Verified that HLOD distance->screen size and inverse functions map correctly #tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method Change 3177996 on 2016/10/28 by Marc.Audy Support play button on SoundCues as well as SoundWaves Change 3178013 on 2016/10/28 by Marc.Audy Allow previewing of force feedback effects from content browser #jira UE-36388 Change 3178020 on 2016/10/28 by Lukasz.Furman fixed navmesh wall segment calculations for crowds #jira UE-37893 Change 3178096 on 2016/10/28 by Marc.Audy Make ALevelSequenceActor::Tick call Super #jira UE-37932 Change 3178247 on 2016/10/28 by Zak.Middleton #ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward. UE-37902 Change 3178256 on 2016/10/28 by Zak.Middleton #ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server. Change 3178263 on 2016/10/28 by Ben.Zeigler Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable. This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds Clean up FLinker::Serialize, as it is no longer called except to get memory size Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles. Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table Change 3178265 on 2016/10/28 by Ben.Zeigler Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places. Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments Migrate QAGame's tag config as a test Change 3178266 on 2016/10/28 by Lina.Halper Fix issue with anim editor sound play notify doesn't work with follow option #jira: UE-37946 Change 3178441 on 2016/10/28 by Ben.Zeigler Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear Change 3178443 on 2016/10/28 by Ben.Zeigler Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches Change 3178533 on 2016/10/28 by Ben.Zeigler Build fix Change 3178655 on 2016/10/28 by Ben.Zeigler Build fix Change 3178672 on 2016/10/28 by Lina.Halper Unshelved from changelist '3164228': PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma) #jira: UE-37372 Change 3178675 on 2016/10/28 by Ben.Zeigler Crash fix if you have no defaultengine.ini redirects section Change 3178698 on 2016/10/28 by Ben.Zeigler #jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13 Change 3178743 on 2016/10/28 by Lina.Halper Fixed so that if no key, it clamps to 0. #jira: UE-36790 Change 3179121 on 2016/10/28 by dan.reynolds AEOverview tweaks - updated Concurrency map to tighten up the audio playback (as in James C's feedback) - tweaked some timers to be closer to real-time Change 3179912 on 2016/10/31 by Mieszko.Zielinski Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4 Change 3179933 on 2016/10/31 by Lukasz.Furman fixed missing update timers in avoidance manager #ue4 Change 3180028 on 2016/10/31 by Ben.Zeigler #jira UE-373993 Fix crash with bad default value for objects Change 3180503 on 2016/10/31 by mason.seay Test map for character spawning bug Change 3180744 on 2016/10/31 by Ben.Zeigler #jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager Change 3180914 on 2016/10/31 by Ben.Zeigler #jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support Add handler for editing a gameplaytag asset from asset browser Change 3181879 on 2016/11/01 by Marc.Audy Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds #jira UE-38055 [CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
void UK2Node_BreakStruct::ConvertDeprecatedNode(UEdGraph* Graph, bool bOnlySafeChanges)
{
const UEdGraphSchema_K2* Schema = GetDefault<UEdGraphSchema_K2>();
// User may have since deleted the struct type
if (StructType == nullptr)
{
return;
}
// Check to see if the struct has a native make/break that we should try to convert to.
if (StructType->HasMetaData(FBlueprintMetadata::MD_NativeBreakFunction))
{
UFunction* BreakNodeFunction = nullptr;
// If any pins need to change their names during the conversion, add them to the map.
TMap<FString, FString> OldPinToNewPinMap;
if (StructType == TBaseStructure<FRotator>::Get())
{
BreakNodeFunction = UKismetMathLibrary::StaticClass()->FindFunctionByName(GET_FUNCTION_NAME_CHECKED(UKismetMathLibrary, BreakRotator));
OldPinToNewPinMap.Add(TEXT("Rotator"), TEXT("InRot"));
}
else if (StructType == TBaseStructure<FVector>::Get())
{
BreakNodeFunction = UKismetMathLibrary::StaticClass()->FindFunctionByName(GET_FUNCTION_NAME_CHECKED(UKismetMathLibrary, BreakVector));
OldPinToNewPinMap.Add(TEXT("Vector"), TEXT("InVec"));
}
else if (StructType == TBaseStructure<FVector2D>::Get())
{
BreakNodeFunction = UKismetMathLibrary::StaticClass()->FindFunctionByName(GET_FUNCTION_NAME_CHECKED(UKismetMathLibrary, BreakVector2D));
OldPinToNewPinMap.Add(TEXT("Vector2D"), TEXT("InVec"));
}
else
{
const FString& MetaData = StructType->GetMetaData(FBlueprintMetadata::MD_NativeBreakFunction);
BreakNodeFunction = FindObject<UFunction>(nullptr, *MetaData, true);
if (BreakNodeFunction)
{
// Look for the first parameter
for (TFieldIterator<UProperty> FieldIterator(BreakNodeFunction); FieldIterator && (FieldIterator->PropertyFlags & CPF_Parm); ++FieldIterator)
{
if (FieldIterator->PropertyFlags & CPF_Parm && !(FieldIterator->PropertyFlags & CPF_ReturnParm))
{
OldPinToNewPinMap.Add(*StructType->GetName(), *FieldIterator->GetName());
break;
}
}
// If map is empty, didn't find parameter
if (OldPinToNewPinMap.Num() == 0)
{
const UBlueprint* Blueprint = GetBlueprint();
UE_LOG(LogBlueprint, Warning, TEXT("BackwardCompatibilityNodeConversion Error 'cannot find input pin for break node function %s in blueprint: %s"),
*BreakNodeFunction->GetName(),
Blueprint ? *Blueprint->GetName() : TEXT("Unknown"));
BreakNodeFunction = nullptr;
}
}
}
if (BreakNodeFunction)
{
Schema->ConvertDeprecatedNodeToFunctionCall(this, BreakNodeFunction, OldPinToNewPinMap, Graph);
}
}
}
#undef LOCTEXT_NAMESPACE