Commit Graph

38 Commits

Author SHA1 Message Date
Mike Beach
e73b4a7c84 Copying //UE4/Dev-Blueprints to //UE4/Dev-Main (Source: //UE4/Dev-Blueprints @ 3255454)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3228496 on 2016/12/09 by Ben.Cosh

	This change adds extra information to component template arrays so that the component class can be determined in builds that strip out objects of certain class types such as the editor dedicated server build.
	#Jira UE-38842 - "LogBlueprint:Error: [Compiler BP_Skybox_World_RandomTrees_01] Error Can't connect pins ReturnValue and Target" after entering a lobby in a synced server
	#Proj KismetCompiler, BlueprintGraph, UnrealEd, Core, Engine, Kismet, BlueprintCompilerCppBackend

Change 3232435 on 2016/12/13 by Ben.Cosh

	Fix for a bug introduced in CL 3228496 that caused component templates to fail to be identified by name and resulted in blueprint compilation issues for add component nodes.
	#Jira UE-39623 - Unknown template referenced by Add Component Node
	#Proj BlueprintGraph, Engine

Change 3234581 on 2016/12/14 by Mike.Beach

	Backing out fix for UE-38842 (CL 3228496/3232435/3232564) - mapping UBlueprintGeneratedClass's ComponentTemplates array to a new format was causing issues with deferred dependency loading during serialization (trying to extract type information from a placeholder object). We're opting for a smaller/simpler solution to UE-38842, which will be to store the component information on the node itself (not with the templates).

	#jira UE-39707

Change 3236615 on 2016/12/15 by Maciej.Mroz

	Nativization: Fixed getter fuctions in FUnconvertedWrapper, the returned ref won;t be const.

Change 3236967 on 2016/12/15 by Dan.Oconnor

	Test data showing an error for jira issue UE-39808

Change 3237021 on 2016/12/15 by Dan.Oconnor

	UE31622 test data

Change 3237046 on 2016/12/15 by Dan.Oconnor

	UE-14123 test data

Change 3239289 on 2016/12/17 by Phillip.Kavan

	[UE-38999] Dump component tree node hierarchy to the output log on error state during widget generation.

	change summary:
	- added FOnTableViewBadState delegate parameter to SSCSEditorDragDropTree
	- added SSCSEditor::DumpTree() as the FOnTableViewBadState delegate implementatioon for the STableView widget (to provide us with more info on future occurrences)

	#jira UE-38999

Change 3239448 on 2016/12/19 by Maciej.Mroz

	#jira UE-39794

	New way of collecting dependencies assets. Only directly used assets are listed. It will be used in projects with EDL enabled, once the "EDL boot time" is enabled.

	Nativized projects with EDL disabled  use the new mechanism as well. They use new  __StaticDependenciesAssets functions generator. __StaticDependenciesAssets calls recursively __StaticDependenciesAssets of all Blueprints, that the current BP depends on. It reduces the size of __StaticDependenciesAssets.

	Notice, that at the moment, this change should no affect any projects with EDL enabled (because the  EDL boot time doesn't work yet).

Change 3239778 on 2016/12/19 by Phillip.Kavan

	[UE-39854] Fix nativized assets build error when there are no native code dependencies.

	change summary:
	- modified FDependenciesGlobalMapHelper::EmitBodyCode() to emit a NULL entry when there are no other entries to emit, in order to avoid a zero-length array initialization error at compile time.

	#jira UE-39854

Change 3239965 on 2016/12/19 by Phillip.Kavan

	[UE-39733] Fix incorrect graph pin value display names for user-defined enum types.

	change summary:
	- switched UEnum::GetDisplayNameText() to be a virtual API
	- added a UUserDefinedEnum::GetDisplayNameText() override to call FEnumEditorUtils::GetEnumeratorDisplayName()

	#jira UE-39733

Change 3240422 on 2016/12/19 by Dan.Oconnor

	Remove useless counter. ensureMsgf only fires once

Change 3242313 on 2016/12/21 by Phillip.Kavan

	[UE-35418] The Actor details view will now refresh property mappings for the current Actor instance selection after a bytecode-only recompile of its Blueprint class as a dependency during reinstancing.

	change summary:
	- Modified FBlueprintCompileReinstancer::ReinstanceObjects() to invoke SelectActor() on the current editor selection after a bytecode-only recompile of its class as a dependent BP (i.e. when reinstancing/finalization is not actually incurred). This is meant to be consistent with how the refresh for the current Actor selection is handled by the reinstancer in the other cases.

	#jira UE-35418

Change 3242409 on 2016/12/21 by Dan.Oconnor

	PR #2995: Arbitrary base logarithm blueprint node (Contributed by Valkrysa)

	#jira UE-39169

Change 3243207 on 2016/12/22 by Phillip.Kavan

	[UE-39816] Renaming interface input/output parameters will no longer cause broken pin links at interface function call sites in Blueprints that are currently loaded.

	change summary:
	- modified FBasePinChangeHelper::Broadcast() to consider pin changes sourced from an interface Blueprint
	- also revised non-interface function call site check code a bit to try and avoid doing some unnecessary work when possible, since this code runs through every call site node

	#jira UE-39816

Change 3243210 on 2016/12/22 by Phillip.Kavan

	[UE-39944] Extend the GetClassDefaults node to include output pin exceptions for TSet/TMap properties (i.e. mirror safeguards already in place for TArray).

	change summary:
	- deprecated 'bExcludeObjectArrays' and replaced with 'bExcludeObjectContainers' (not using a redirect because I need the old property serialized on load for backwards-compatibility)
	- modified FClassDefaultsOptionalPinManager's ctor to consider both flags
	- modified FClassDefaultsOptionalPinManager::CanTreatPropertyAsOptional() to also test for TSet/TMap types, and exclude them if they contain a non-class UObject property as the inner type (same as we do for TArray)
	- modified UK2Node_GetClassDefaults::ValidateNodeDuringCompilation() to also test for TSet/TMap types, and emit a warning for existing pin connections that would have otherwise failed for newly-placed nodes (same as TArray)
	- modified UK2Node_GetClassDefaults::ExpandNode() to generate the necessary script needed to create a copy of TSet/TMap property value outputs (same as we do for TArray types)

	#jira UE-39944

Change 3243373 on 2016/12/23 by Maciej.Mroz

	#jira UE-39794

	-Nativized build with EDL enabled use new dependency-gathering system. It shrinks size of the .exe file. This code will change once the boot time EDL is enabled.
	-In nativized code, ZCOnstructors are not called. They are replaced by ::StaticClass(). Static class doesn't call noting recursively. We still need to fix interfaces (they have no StaticClass).
	- Workaround for  UE-40026
	- Various minior improvements.

Change 3244038 on 2016/12/28 by Phillip.Kavan

	[UE-34488] Child Blueprint assets are now marked as dirty if its parent Blueprint incurs a strucutural change.

	change summary:
	- modified FBlueprintEditorUtils::MarkBlueprintAsStructurallyModified() to call MarkPackageDirty() after a skeleton-only compile pass on a child Blueprint.

	notes:
	- this only fixes the issue for child Blueprints that are loaded when the change to the parent Blueprint occurs. unloaded child Blueprints would still need a redirector to fix this up on load.

	#jira UE-34488

Change 3244087 on 2016/12/28 by Phillip.Kavan

	CIS warning fix (C6236).

Change 3244388 on 2016/12/30 by Phillip.Kavan

	[UE-39816] Fix broken pin links caused by renaming interface function input/output parameters prior to compiling the interface, but after renaming the function itself.

	change summary:
	- modified FBlueprintEditorUtils::FindFunctionInImplementedInterfaces() to prefer the skeleton class when searching, as that is always up-to-date.
	- modified FBlueprintEditorUtils::RenameGraph() to update *all* function call site nodes, rather than just those within the current Blueprint class scope.

	#jira UE-39816

Change 3245322 on 2017/01/03 by Maciej.Mroz

	#jira UE-40125
	Fixed a crash when implementing a native interface in a BP

Change 3245667 on 2017/01/03 by Mike.Beach

	Mirroring CL 3245664 - Making it so level script bound nodes are fixed up on load (in case the level instances were saved out without the bindings).

	#jira UE-39950

Change 3247675 on 2017/01/05 by Maciej.Mroz

	BP is not DataOnly, when it overrides an inherited component

	related to UE-40131

Change 3247985 on 2017/01/05 by Maciej.Mroz

	NativizationSummary object is always present.

	#jira UE-40035

Change 3249423 on 2017/01/06 by Mike.Beach

	Mirroring CL 3248792 from Orion.

	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 3249568 on 2017/01/06 by Mike.Beach

	Updating the UBlueprintThumbnailRenderer API so it can be sub-classed by plugin/projects.

	PR #2899: Expose UBlueprintThumbnailRenderer in the API (Contributed by e-agaubatz)

	#jira UE-38004

Change 3251903 on 2017/01/10 by Phillip.Kavan

	[UE-31640] Function inputs are now exposed as variable "Get" nodes via the right-click context menu in a Blueprint function graph context.

	Note: Changes are based on shelved CL# 2452724, original proof-of-concept code (credit: Michael.Noland).

	#jira UE-31640
	#fyi Michael.Noland

Change 3252119 on 2017/01/10 by Phillip.Kavan

	CIS fix (shadowed variable).

Change 3252744 on 2017/01/10 by Dan.Oconnor

	Add GMinimalCompileOnLoad path for postponing compile on load until all data has been loaded - long term this will be used to improve bp compiler infrastructure (performance, correctness, succinctness)

Change 3252968 on 2017/01/10 by Phillip.Kavan

	[UE-36798] Fix for an infinite loop case in the math expression parser.

	#jira UE-36798

Change 3253153 on 2017/01/10 by Dan.Oconnor

	Fixed construction scripts not being loaded before instancing occurs when using new lighter compile path

Change 3253171 on 2017/01/10 by Mike.Beach

	Mirrored CL 3253147.

	Properly fills out FPropertyChangedEvent's MemberProperty field, for the property editor's NotifyHook. As its comment implies, "MemberProperty" is meant to represent the outermost property (in scenarios, like with nested struct properties). It was not working this way, and was instead set to the same nested property.

Change 3253220 on 2017/01/10 by Dan.Oconnor

	These pins should infer together
	#jira UE-40427

Change 3253223 on 2017/01/10 by Phillip.Kavan

	[UE-35050] Fix a crash that occurs on an attempt to rename the category of an implemented interface function inherited from a native parent class in the My Blueprint panel.

	change summary:
	- modified FBlueprintEditorUtils::FindFunctionInImplementedInterfaces() to accept an additional input parameter so that callers can opt-in to searching all inherited interface classes
	- modified SMyBlueprint::CanRequestRenameOnActionNode() to prevent rename on implemented interface functions inherited from a native parent class

	#jira UE-35050

Change 3253259 on 2017/01/10 by Dan.Oconnor

	Quick cleanup, this stuff is in progress

Change 3253983 on 2017/01/11 by Phillip.Kavan

	[UE-35629] Disable external curve asset creation when editing a local variable's default value in a Blueprint graph.

	change summary:
	- modified FCurveStructCustomization::CustomizeChildren() to set the "create" button visibility to "collapsed" when the Owner is NULL (as the default asset path is inferred from the Owner's package).

	#jira UE-35629

Change 3254024 on 2017/01/11 by Phillip.Kavan

	[UE-40131] Non-native child BPs can now properly override a nativized parent BP's components in a cooked build with exclusive Blueprint class nativiation.

	change summary:
	- added UBlueprintGeneratedClass::CheckAndApplyComponentTemplateOverrides()
	- switched FComponentKey::OwnerClass type from UBlueprintGeneratedClass to UClass to allow the reference to be loaded when it's a nativized BP class.
	- modified AActor::PostLoadSubobjects() to apply ICH template overrides to inherited component subobjects on load (only in a cooked build)
	- modified AActor::PostSpawnInitialize() to also apply ICH template overrides to inherited component subobjects on new Actor spawns (only in a cooked build)
	- modified FBlueprintEditorUtils::IsDataOnlyBlueprint() to additionally reject BPs that have a non-empty ICH (from Maciej)
	- added UBlueprint::bHasNativizedParent to cache this as an indicator for cooked builds to allow Actor instances to avoid incurring additional overhead for this at load time in the general case

	#jira UE-40131

Change 3254176 on 2017/01/11 by Mike.Beach

	Mirroring CL 3245838 to unblock the Odin build. Downgrading new error to warning until we can address it in content (and fully understand why it is triggering).

	#jira UE-40470

Change 3254391 on 2017/01/11 by Phillip.Kavan

	[UE-40131] CIS fix (non-unity).

Change 3254442 on 2017/01/11 by Mike.Beach

	Mirroring CL 3245069 (from RobM), which is described as a "temp fix".

	#jira UE-40399

Change 3254599 on 2017/01/11 by Mike.Beach

	Updating some of our GetRedirectPinNames() functions - making local copy of an array element instead of a reference. We're adding to the array right after, and the ref can become invalid (if the array is grown and reallocated). Came to us via UDN.

Change 3254624 on 2017/01/11 by Mike.Beach

	Backing out CL 3247675, as it removed the "data-only" status from certain Blueprints that, IMO, are still considered "data-only". This would have reprecussions to editor (compile-on) load times, and affect how these Blueprints are presented to the user.

	#fyi Maciej.Mroz, Phillip.Kavan

Change 3254671 on 2017/01/11 by Mike.Beach

	Resolving CIS warning - USE_EVENT_DRIVEN_ASYNC_LOAD was replaced with GEventDrivenLoaderEnabled.

[CL 3255791 by Mike Beach in Main branch]
2017-01-12 14:36:04 -05:00
Mike Beach
45d00a2d8a Copying //UE4/Dev-Blueprints to //UE4/Dev-Main (Source: //UE4/Dev-Blueprints @ 3235800)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3194900 on 2016/11/11 by Ryan.Rauschkolb

	Fixed issue where Reroute node pins weren't mirroring data properly.
	#jira UE-33717

Change 3195081 on 2016/11/11 by Dan.Oconnor

	This @todo was addressed

Change 3196368 on 2016/11/14 by Maciej.Mroz

	Results of FBlueprintNativeCodeGenModule::IsTargetedForReplacement are cashed - optimization (cooking time).

Change 3196369 on 2016/11/14 by Maciej.Mroz

	CompileDisplaysBinaryBackend, CompileDisplaysTextBackend and bDisplaysLayout features (in [Kismet] in Engine.ini) are disabled in commandlets. They slow down BP compilation.

Change 3196398 on 2016/11/14 by Ben.Cosh

	Reworked the tracking of latent and expansion event tracking in the blueprint compiler for use with the blueprint profiler.
	#Jira - UE-37364 - Crash: PIE with instrumented PlayerPawn_Generic added to AITestbed scene
	#Proj BlueprintProfiler, KismetCompiler. BlueprintGraph, Engine

Change 3196410 on 2016/11/14 by Maciej.Mroz

	Fixed crash in UK2Node_Knot::PropagatePinTypeFromInput

Change 3196852 on 2016/11/14 by Maciej.Mroz

	Fixed static analysis warning.

Change 3196874 on 2016/11/14 by Maciej.Mroz

	#jira UE-37778
	(the issue was already fixed, but it was reintroduced, when EDL support was added).

	ObjectImport->XObject is not filled prematurelly, so CreateExport is properly called each dynamic class.

Change 3197469 on 2016/11/14 by Dan.Oconnor

	Fix for being able to make Sets and Maps of user defined structs that contained unhashable types (e.g. Rotator)

Change 3197703 on 2016/11/14 by Dan.Oconnor

	Updated documentation comment to reflect current behavior

Change 3198167 on 2016/11/15 by Maciej.Mroz

	Merged 3196582 from Dev-Core

	UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game.

Change 3198433 on 2016/11/15 by Ryan.Rauschkolb

	Fixed Copy/pasting variable nodes hides them from a reference search
	#UE-31606

Change 3198811 on 2016/11/15 by Maciej.Mroz

	Fixed Knot node - it will use/propagate the type from input connection, if it's possible (intstead of the type from output connection).

Change 3198866 on 2016/11/15 by Maciej.Mroz

	#jira UE-38578

	Fixed infinite loading of DynamicClass in EDL.

Change 3199045 on 2016/11/15 by Phillip.Kavan

	[UE-27402] Fix attached Actor-based Blueprint instance root component relative transform values after reconstruction.

	change summary:
	- modified FActorComponentInstanceData's ctor to exclude relative transform properties when caching root component values.

	#jira UE-27402

Change 3200703 on 2016/11/16 by Mike.Beach

	Marking the ease node explicitly as pure, which makes it so we can prune it from graphs when it is unused.

	#jira UE-38453

Change 3201115 on 2016/11/16 by Maciej.Mroz

	Nativization + EDL: "Dynamic" objects are processed by FAsyncPackage::PostLoadDeferredObjects, so the EInternalObjectFlags::AsyncLoading flag is properly cleared.

Change 3201749 on 2016/11/17 by Maciej.Mroz

	In EDL a package containig a dynamic class has PKG_CompiledIn flag (the same like without EDL).

Change 3202577 on 2016/11/17 by Mike.Beach

	Accounting for a change in our intermediate node mapping - the old list no longer maps expanded nodes to macro instances (instead it maps to the corresponding node in the macro graph), so we had to use a new mapping meant for this.

	#jira UE-35609

Change 3204803 on 2016/11/18 by Phillip.Kavan

	[UE-38607] Implicitly turn on Blueprint class nativization for dependencies.

	change summary:
	- added a UBlueprint::PostEditChangeProperty() override method to handle this.

	#jira UE-38607

Change 3204812 on 2016/11/18 by Phillip.Kavan

	[UE-38580] Implicitly turn on the "nativize" project setting when enabling nativize for any Blueprint class.

	change summary:
	- modified UBlueprint::PostEditChangeProperty() to update project packaging settings if necessary

	#jira UE-38580

Change 3204818 on 2016/11/18 by Phillip.Kavan

	[UE-38725] Interface class dependencies that are not enabled for nativization will now raise an error during nativized cooks.

	change summary:
	- modified FBlueprintNativeCodeGenModule::IsTargetedForReplacement() to check interface class dependencies in addition to parent class dependencies.

	#jira UE-38725

Change 3204963 on 2016/11/18 by Dan.Oconnor

	Create a transaction when using UBlueprintFunctionNodeSpawner* directly
	#jira UE-36439

Change 3206510 on 2016/11/21 by Mike.Beach

	Adding math-expression aliases for dot and cross functions ("dot" and "cross" respectively).

	#jira UEBP-71

Change 3206547 on 2016/11/21 by Mike.Beach

	Exposing GetReflectionVector() to Blueprints.

	#jira UEBP-70

Change 3206658 on 2016/11/21 by Dan.Oconnor

	Fix for compile error, digging out authorative class from trash class.

	Mirror of 3206638 from Odin

	#jira None

Change 3207579 on 2016/11/22 by Mike.Beach

	No longer enforcing the requirement that game UFunctions have to have a category (making writing of game code easier).

	#jira UE-18093

Change 3207956 on 2016/11/22 by Phillip.Kavan

	[UE-38690] Fix a regression in which nested scene component subobjects would no longer be registered after construction of an instance-added component in IWCE.

	change summary:
	- modified the IWCE path in SSCSEditor::AddNewComponent() to ensure that any components added as a result of instancing the newly-added component are also registered.
	- modified AActor::ExecuteConstruction() to ensure that non-scene, native nested component subobjects that might be created as a result of SCS execution are also registered (previously it was only considering non-scene components that were explicitly created by the SCS, or that inherited the creation method of the instance that created it).

	#jira UE-38690

Change 3208217 on 2016/11/22 by Mike.Beach

	Modified fix (originally from Ryan.Rauschkolb, CL 3186023):

	Fixed unable to set struct variable name if name includes space

	#jira UE-28435

Change 3208347 on 2016/11/22 by Mike.Beach

	Merging //UE4/Dev-Main to Dev-Blueprints (//UE4/Dev-Blueprints)

Change 3208688 on 2016/11/23 by Ben.Cosh

	Made a minor change that forces debugging references to the PIE world when the play in editor world is changed. This is intended to better handle mutliple game instance/world debugging scenarios.
	#Jira UE-26386 - Can't hit breakpoints in blueprints for level script for server instances
	#Proj Engine, UnrealEd

Change 3208712 on 2016/11/23 by Ben.Cosh

	Improved handling of unwired transform struct terminal expression's in the blueprint VM compiler to remove an errant warning.
	#Jira UE-32401 - "ImportText: Missing opening parenthesis" message, when a function returns Transform
	#Proj KismetCompiler

Change 3209457 on 2016/11/23 by Phillip.Kavan

	[UE-30479] Fix inability to edit the ISMC instance array on Actor instances when the ISMC is inherited from a Blueprint class.

	change summary:
	- added PPF_ForceTaggedSerialization as a means to override the CPF_SkipSerialization flag when explicit serialization of the property value is needed
	- modified UProperty::ShouldSerializeValue() to check for and handle the PPF_ForceTaggedSerialization flag when the CPF_SkipSerialization flag is present
	- modified UActorComponent::DetermineUCSModifiedProperties() to add the PPF_ForceTaggedSerialization flag to the custom FArchive impl
	- modified FActorComponentInstanceData::FActorComponentInstanceData() to add the PPF_ForceTaggedSerialization flag to the custom FObjectWriter impl
	- modified FActorComponentInstanceData::ApplyToComponent() to add the PPF_ForceTaggedSerialization flag to the custom FObjectReader impl

	#jira UE-30479

Change 3209758 on 2016/11/24 by Maciej.Mroz

	#jira UE-38979

	Nativization: fixed error when a BP implements a native interface.
	FBlueprintNativeCodeGenModule::IsTargetedForReplacement will return "DontReplace" for native class.

Change 3210376 on 2016/11/25 by Maciej.Mroz

	#jira UE-39028
	Fixed  FBlueprintNativeCodeGenModule::FindReplacedNameAndOuter
	Components in nativized BPCG SCS have replaced outer object and name while cooking.

Change 3210936 on 2016/11/28 by Phillip.Kavan

	Minor revision to try and avoid a potentially expensive Contains() call when possible.

Change 3211527 on 2016/11/28 by Maciej.Mroz

	Fixed map of names cooked in packages in nativized build.

Change 3211969 on 2016/11/28 by Mike.Beach

	Merging //UE4/Dev-Main to Dev-Blueprints (//UE4/Dev-Blueprints)

Change 3212328 on 2016/11/28 by Dan.Oconnor

	Enum, pointer and arithmetic specializations for THasGetTypeHash, as VC doesn't detect them properly.
	TIsEnum moved to its own header. Submitted on behalf of steve.robb

Change 3212398 on 2016/11/28 by Dan.Oconnor

	Build fix, this function is part of another change

Change 3212442 on 2016/11/28 by Dan.Oconnor

	UHT now supports structs in TMap and TSet, misc. fixes to PropertyStruct's PropertyFlags detecting whether the struct type is hashable (all HasGetTypeHash flags are now computed from THasGetTypeHash). Various fixes for generating TMap/TSet code from blueprints

Change 3212578 on 2016/11/28 by Dan.Oconnor

	Rename RegisterClass to avoid collsion with RegistClass macro in generated code

Change 3213668 on 2016/11/29 by Dan.Oconnor

	Fix for missing CDO when instatiating some subobjects in nativized BPs
	#jira UE-34980

Change 3213737 on 2016/11/29 by Dan.Oconnor

	Added GetTypeHash implementation to UEnumProperty
	#jira UE-39091

Change 3215225 on 2016/11/30 by Maciej.Mroz

	Bunch of changes required for nativized Orion to work with EDL.
	- ClientOnly, ServerOnly and EditorOnly assets are properly distinguished and handled
	- Introduced FCompilerNativizationOptions
	- fixed inproper references to BP instead of BPGC
	- fixed generated delegate name
	- hack for DefaultRootNode UE-39168
	- improved NativeCodeGenrationTool
	- various minor improvements

Change 3216363 on 2016/11/30 by Dan.Oconnor

	Better fix for discrepency between UUserDefinedEnum::GetEnumText and UEnum::GetEnumText. Without meta data we could not look up display names, so I'm writing out the display names into a function in the BP cpp backend. This function could be generated by UHT if we wanted to correct this odd behavior for native enums
	#jira UE-27735

Change 3217168 on 2016/12/01 by Maciej.Mroz

	#jira UE-35390
	Nativization:
	Fixed compilation warning C4458: declaration of 'CurrentState' hides class member
	Disabled warning C4996 (deprecated) in nativized code.

Change 3217320 on 2016/12/01 by Phillip.Kavan

	[UE-38652] Selecting Blueprint assets for nativization is now integrated into the project's configuration.

	change summary:
	- added EProjectPackagingBlueprintNativizationMethod
	- deprecated the 'bNativizeBlueprintAssets' and 'bNativizeOnlySelectedBlueprints' flags in favor of a new 'BlueprintNativizationMethod' config property in UProjectPackagingSettings
	- added a new 'NativizeBlueprintAssets' config property to UProjectPackagingSettings to track/store the list of Blueprints to be nativized when the exclusive method (whitelist) is selected
	- added a PostInitProperties() override to UProjectPackagingSettings; implemented to migrate from the deprecated config properties to the new method enum type
	- updated FMainFrameActionCallbacks::PackageProject() to migrate to checking the enum type
	- updated FBlueprintNativeCodeGenModule::IsTargetedForReplacement() to migrate to checking the enum type
	- modified UProjectPackagingSettings::CanEditChange() to enable editing of the nativization whitelist only when the "exclusive" method is active
	- modified UProjectPackagingSettings::PostEditChangeProperty() to add a new case for handling changes to the whitelist; changes are propagated to any Blueprint assets that are loaded
	- added new Add/RemoveBlueprintAssetFromNativizationList() APIs to UProjectPackagingSettings for assisting with adding/removing Blueprint assets to/from the exclusive list (whitelist)
	- deprecated the 'bNativize' flag in UBlueprint in favor of a new transient 'bSelectedForNativization' flag that is no longer serialized; this now caches whether or not the asset is present in the whitelist in the project config
	- modified UBlueprint::Serialize() to both migrate from the deprecated flag to the project config/transient flag on load, as well as to propagate the value of the transient flag back to the project config on save. this means that if the user changes the value of the transient flag through the Details view, that change won't be reflected back to the project config until the Blueprint is actually saved (saving the value to the config rather than serializing to the asset)
	- modified UBlueprint::PostEditChangeProperty() to remove code that was previously updating the project configuration at edit time. this functionality has been relocated to Serialize() (save time) instead.

	notes:
	- also completes UE-38636 (task: consolidate config options into a single drop-down)

	#jira UE-38652

Change 3218124 on 2016/12/01 by Dan.Oconnor

	 CPF_HasGetValueTypeHash flag was not set on native UEnumProperties
	#jira UE-39181

Change 3218168 on 2016/12/01 by Phillip.Kavan

	Fix local var name that shadows a function param (CIS fix).

Change 3219117 on 2016/12/02 by Maciej.Mroz

	#jira UE-39241 "warning C4458: declaration of XXX hides class member" In Nativized Code

	Nativization:
	Fixed compilation warning C4458: when local function variable hides a class variable. Names of local variables in funvtions have prefix "bpfv__".

Change 3219201 on 2016/12/02 by Mike.Beach

	Keeping the "Select All Input Nodes" option from infinitely recurssing by blocking on nodes it has already selected.

	#jira UE-38988

Change 3219247 on 2016/12/02 by Mike.Beach

	Fixing CIS shadow variable warning from my last check in (CL 3219201).

Change 3219332 on 2016/12/02 by Maciej.Mroz

	#jira HeaderParser: "private:" specifier is lost in FGameplayTag::TagName
	Workaround for UE-38231

Change 3219381 on 2016/12/02 by Mike.Beach

	Accounting for cyclic compile issues in cast-node's validate function, making it check the authoratative class instead of the current type. Also down grading some of the warnings to notes (suggesting the users don't need the cast).

	#jira UE-39272

Change 3220224 on 2016/12/02 by Dan.Oconnor

	Reduce font size for compact nodes

Change 3220476 on 2016/12/03 by Maciej.Mroz

	#jira UE-35390
	Better fix for UE-35390
	Disabled deprecation warnings in nativized code.

Change 3221637 on 2016/12/05 by Maciej.Mroz

	#jira UEBP-245

	Nativization:
	Forced ImportCreation while InitialLoad for DynamicClasses.

Change 3222306 on 2016/12/05 by Dan.Oconnor

	Support for default values of TMap and TSet local variables
	#jira UE-39239

Change 3222383 on 2016/12/05 by Dan.Oconnor

	Fixed bug in Blueprint TMap function for getting values out of a TMap

Change 3222427 on 2016/12/05 by Mike.Beach

	Preventing ChildActorTemplate fixups from occuring on component load, when they may instead be a placeholder object (a byproduct of deferred Blueprint loading - a guard against cyclic load problems).

	#jira UE-39323

Change 3222679 on 2016/12/05 by Dan.Oconnor

	Remove unused code. Had no sideeffects, other than potential for leak when struct with non-trivial dtor was allocated here.

Change 3222719 on 2016/12/05 by Dan.Oconnor

	Earlier detection of invalid native map/set properties. These generate a compile error if any TMap/TSet functions are used, but will slip by undetected if not used. Working on static assert to catch them.
	#jira UE-39338

Change 3224375 on 2016/12/06 by Dan.Oconnor

	Add tags for testing of array diffing

Change 3224507 on 2016/12/07 by Phillip.Kavan

	[UE-39055] Fix a crash caused by an object name collision that could occur when loading some older Blueprint assets.

	change summary:
	- added UInheritableComponentHandler::FixComponentTemplateName()
	- modified UInheritableComponentHandler::PostLoad() to check for and correct stale records that cause a collision with the corrected name
	- added a UInheritableComponentHandler::Serialize() override to ensure that UsingCustomVersion() is called for the asset containing the ICH (already happening in UBlueprint::Serialize(), but added for consistency with other usage)
	- modified USimpleConstructionScript::Serialize() to ensure that UsingCustomVersion() is called for the asset containing the SCS (same reason as above)

	#jira UE-39055

Change 3225572 on 2016/12/07 by Samuel.Proctor

	Test assets for TSet/TMap testing. Includes new native class for testing containers. #rb none

Change 3225577 on 2016/12/07 by Samuel.Proctor

	New test map for Array, TSet and Tmap testing.

Change 3226281 on 2016/12/07 by Dan.Oconnor

	Container test asset, needs to be in p4 for diff tool tests.

Change 3226345 on 2016/12/07 by Dan.Oconnor

	Another revision of test data

Change 3228496 on 2016/12/09 by Ben.Cosh

	This change adds extra information to component template arrays so that the component class can be determined in builds that strip out objects of certain class types such as the editor dedicated server build.
	#Jira UE-38842 - "LogBlueprint:Error: [Compiler BP_Skybox_World_RandomTrees_01] Error Can't connect pins ReturnValue and Target" after entering a lobby in a synced server
	#Proj KismetCompiler, BlueprintGraph, UnrealEd, Core, Engine, Kismet, BlueprintCompilerCppBackend

Change 3230120 on 2016/12/09 by Dan.Oconnor

	Merging //UE4/Dev-Main to Dev-Blueprints (//UE4/Dev-Blueprints)

Change 3230700 on 2016/12/12 by Samuel.Proctor

	Removing some array test properties from container test class that were not needed. Also updated struct element to better reflect testing purpose. #rb none

Change 3230926 on 2016/12/12 by Samuel.Proctor

	Missed a file on previous container test native QA asset checkin. #rb none

Change 3231246 on 2016/12/12 by Dan.Oconnor

	PR #3003: New Feature: In-editor diff of arrays and structs now highlights diff. (Contributed by CA-ADuran).

	I've added TSet and TMap support as well.

Change 3231311 on 2016/12/12 by Dan.Oconnor

	Handle class load failure
	#jira UE-39480

Change 3231387 on 2016/12/12 by Dan.Oconnor

	Shadow variable fixes

Change 3231501 on 2016/12/12 by Dan.Oconnor

	More shadow fixes

Change 3231584 on 2016/12/12 by Maciej.Mroz

	#jira UE-39636

	Replaced obsolate macro usage.

	#fyi Dan.Oconnor

Change 3231685 on 2016/12/12 by Mike.Beach

	PR #3032: Fixed category for IsValidIndex (Contributed by elFarto)

	#jira UE-39660

Change 3231689 on 2016/12/12 by Maciej.Mroz

	Nativization: Fixed Dependency list generation.

Change 3231765 on 2016/12/12 by Phillip.Kavan

	[UE-38903] Auto-enable exclusive Blueprint nativization only after explicitly selecting the first asset.

	change summary:
	- fixed up the auto-enable logic on save in UBlueprint::Serialize()

	#jira UE-38903
	#fyi Maciej.Mroz

Change 3231837 on 2016/12/12 by Dan.Oconnor

	Restore hack to keep objects referenced by bytecode alive while in editor
	#jira UE-38486

Change 3232085 on 2016/12/13 by Phillip.Kavan

	Compile fix.

Change 3232435 on 2016/12/13 by Ben.Cosh

	Fix for a bug introduced in CL 3228496 that caused component templates to fail to be identified by name and resulted in blueprint compilation issues for add component nodes.
	#Jira UE-39623 - Unknown template referenced by Add Component Node
	#Proj BlueprintGraph, Engine

Change 3232437 on 2016/12/13 by Maciej.Mroz

	#jira UE-33021

	Remove an obsolete warning.

Change 3232564 on 2016/12/13 by Ben.Cosh

	This adds extra component template renaming propagation and checking for the blueprint generated class and blueprint skeleton class.
	#Jira UE-39623 - Unknown template referenced by Add Component Node
	#Proj BlueprintGraph

	- Implementing a bit of review feedback and some safety checking.

Change 3232598 on 2016/12/13 by Maciej.Mroz

	Nativization:
	stati functions cannot be const, so no workaound (_Inner function) specyfic to const functions is necessary

	#jira UE-39518

Change 3232601 on 2016/12/13 by Phillip.Kavan

	[UE-38975] Warn on BuildCookRun or a standalone cook when the -nativizeAssets flag is omitted from the command line for a nativization-enabled project.

	change summary:
	- added 'bWarnIfPackagedWithoutNativizationFlag' to UProjectPackagingSettings (default = true)
	- modified UCookOnTheFlyServer::StartCookByTheBook() to check for the presence of the -nativizeAssets flag and emit a warning for unexpected omission from the command line
	- modified UAT to include a warning for the BuildCookRun command when -build is specified with the same unexpected omission of the -nativizeAssets flag on the UAT command line

	#jira UE-38975

Change 3232749 on 2016/12/13 by Mike.Beach

	Moving Blueprint nativization out of the experimental category.

	#jira UE-39358

Change 3233043 on 2016/12/13 by Dan.Oconnor

	Various fixes for TSet/TMap nativization issues
	#jira UE-39634

Change 3233086 on 2016/12/13 by Dan.Oconnor

	Advanced Containers (TSet/TMap) no longer experimental

Change 3233175 on 2016/12/13 by Mike.Beach

	Whitelising "Packaging" as an acceptable BP settings category (follow up to CL 3232749).

	#jira UE-39358

Change 3233182 on 2016/12/13 by Mike.Beach

	Exposing the editor setting "Show Action Menu Item Signatures" through the Blueprint Developer menu (for ease of access).

Change 3233662 on 2016/12/13 by Phillip.Kavan

	[UE-39722] Fix a typo that led to a UAT runtime failure.

	#jira UE-39722

Change 3233710 on 2016/12/13 by Dan.Oconnor

	Clang template useage fix
	#jira UE-39742

Change 3233895 on 2016/12/13 by Dan.Oconnor

	Several fixes to crashes that occur when you delete a blueprint asset when its children are not loaded.
	#jira UE-39558

Change 3234443 on 2016/12/14 by Phillip.Kavan

	[UE-39354] Fix script VM crash on assignment to TSet/TMap variables.

	change summary:
	- modified FScriptBuilderBase::EmitDestinationExpression() to consider TSet/TMap value types in addition to TArray terms

	#jira UE-39354

Change 3234581 on 2016/12/14 by Mike.Beach

	Backing out fix for UE-38842 (CL 3228496/3232435/3232564) - mapping UBlueprintGeneratedClass's ComponentTemplates array to a new format was causing issues with deferred dependency loading during serialization (trying to extract type information from a placeholder object). We're opting for a smaller/simpler solution to UE-38842, which will be to store the component information on the node itself (not with the templates).

	#jira UE-39707

Change 3234729 on 2016/12/14 by Mike.Beach

	Making it so AddComponent nodes now track the component (class) type that they represent (in case the template cannot be spawned, like in -server w/ client-only components).

	#jira UE-38842

Change 3234805 on 2016/12/14 by Mike.Beach

	Fixing CIS shadowed variable warning.

Change 3234830 on 2016/12/14 by Nick.Atamas

	Added extra debugging mechanisms to help track down duplicate item issues with TableViews.

Change 3235075 on 2016/12/14 by Mike.Beach

	Creating a helper to better manage nested scope blocks added in generated code - on close, clears out cached local accessor variables that were added, so we don't use one that was declared inside the nested scope.

	#jira UE-39769

Change 3235213 on 2016/12/14 by Phillip.Kavan

	[UE-39790] Fix UAT compile issue after latest merge from Main.

	change summary:
	- migrated the BuildCookRun command's usage of the (deprecated) ConfigCacheIni to the new ConfigHierarchy API

	#jira UE-39790

Change 3235384 on 2016/12/14 by Mike.Beach

	Defaulting to excluding data-only Blueprints from nativization.

Change 3235675 on 2016/12/14 by Nick.Atamas

	Hopefully fixed build.
	Added OnEnteredBadState delegate that lets users add arbitrary logging info when the List/Tree enters a bad state.

Change 3235761 on 2016/12/14 by Mike.Beach

	Hopefully resolving CIS mac/ps4 build failures in Dev-BP for 4.15 integration.

	#jira UE-39800

Change 3235800 on 2016/12/14 by Mike.Beach

	More hopeful CIS mac/ps4 fixes for 4.15 integration.

	#jira UE-39800

[CL 3236017 by Mike Beach in Main branch]
2016-12-14 22:10:20 -05:00
Ben Marsh
20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00
Ben Marsh
4ba423868f 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
Ori Cohen
368bd22e6b Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3050254 on 2016/07/14 by Marc.Audy

	Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614

Change 3136629 on 2016/09/22 by Marc.Audy

	bye bye auto

Change 3136631 on 2016/09/22 by Marc.Audy

	Allow objects to be marked as duplicate transient or non PIE duplicate transient
	ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient
	#jira UE-35680

Change 3136636 on 2016/09/22 by Marc.Audy

	ParticleSystem and Audio Components now  route Activate/Deactivate events to blueprints
	Component Activate/Deactivate events now provide component as a property
	#jira UE-35191

Change 3136640 on 2016/09/22 by Marc.Audy

	Expose bReplicates to blueprint component properties
	#jira UE-34433

Change 3136709 on 2016/09/22 by Ori.Cohen

	Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached.

	#JIRA UE-36234

Change 3136710 on 2016/09/22 by Ori.Cohen

	Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together.

	#JIRA UE-35899

Change 3136770 on 2016/09/22 by Marc.Audy

	Fix compile error

Change 3136854 on 2016/09/22 by Marc.Audy

	Sprite components need to be text export transient
	#jira UE-36064

Change 3136926 on 2016/09/22 by Ori.Cohen

	Fix ensure when skeletal mesh bodies have no collision.

Change 3137054 on 2016/09/22 by Aaron.McLeran

	PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes)

Change 3137058 on 2016/09/22 by Aaron.McLeran

	PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet)

Change 3137060 on 2016/09/22 by Aaron.McLeran

	UE-36336 Fixing A3D for mono/2D sounds

	- Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds
	- Fixing A3D mono sources from failing after a time

Change 3137066 on 2016/09/22 by Aaron.McLeran

	Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0

Change 3137098 on 2016/09/22 by dan.reynolds

	AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process.

Change 3137132 on 2016/09/22 by Aaron.McLeran

	PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge)

Change 3137175 on 2016/09/22 by Aaron.McLeran

	Fixing compile error with PhysXCollision.cpp from CL 3136710

Change 3137540 on 2016/09/23 by Thomas.Sarkanen

	Fixed crash when generating LODs automatically for skeletal meshes

	Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification.

	#jira UE-36253 - Crash applying LOD changes in Persona

Change 3137720 on 2016/09/23 by Thomas.Sarkanen

	Changed asset shortcut bar to display asset names & reworked padding

	#jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text

Change 3137761 on 2016/09/23 by Martin.Wilson

	Fix typo in root motion from everything accumulation code

Change 3137877 on 2016/09/23 by Thomas.Sarkanen

	Fixed undo/redo forcing skeletal meshes into t-pose

	Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent.

	#jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function

Change 3137885 on 2016/09/23 by Benn.Gallagher

	Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect.
	#jira UE-35151

Change 3137888 on 2016/09/23 by Benn.Gallagher

	Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links
	#jira UE-24860

Change 3137889 on 2016/09/23 by Benn.Gallagher

	Fixed transform and widget inconsistencies in IK edit mode
	#jira UE-20628

Change 3137890 on 2016/09/23 by Jurre.deBaare

	Alembic Cached Geometry Does Not Display in Stand Alone Game
	#fix required to force load the GeometryCache module during runtime
	#jira UE-36187

Change 3137892 on 2016/09/23 by Jurre.deBaare

	Geometry cache playback should work in sequencer
	#fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway)
	#jira UE-35447

Change 3137893 on 2016/09/23 by Jurre.deBaare

	Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals
	#fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence
	#jira UE-35091

Change 3137894 on 2016/09/23 by Jurre.deBaare

	Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor
	#fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created
	#misc added a new check + message in case this occurs again
	#jira UE-36059

Change 3137938 on 2016/09/23 by Jurre.deBaare

	Alembic Importing with Incorrect UV's
	#fix adding option for flipping UVs on import
	#jira UE-36190

	Alembic import axis not aligned correctly
	#fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max)
	#jira UE-35510

Change 3137949 on 2016/09/23 by Jurre.deBaare

	Frame range importing causes confusion during Alembic importing
	#fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames.
	#misc changed settings UI listview layout (extra columns and resized old ones)
	#jira UE-35498

Change 3137994 on 2016/09/23 by Martin.Wilson

	Fix for creating an empty state when dragging a montage into a state machine graph

	#jira UE-33371

Change 3138103 on 2016/09/23 by Aaron.McLeran

	UE-36312 Fixing sound node distance cross fade for case of looping sounds

Change 3138104 on 2016/09/23 by Aaron.McLeran

	UE-35392 Copy pasting local node into separate project crashes the engine

Change 3138224 on 2016/09/23 by Aaron.McLeran

	UE-36312 Fixing sound node distance cross fade for case of looping sounds

	- Adding a check for wave instance count to account for virtualized sounds (one-shots)

Change 3138666 on 2016/09/23 by Ben.Zeigler

	#UEFW-204 Add more comprehensive gameplay tag tests
	Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon

Change 3138779 on 2016/09/23 by Marc.Audy

	Get rid of pointless casts

Change 3138782 on 2016/09/23 by Marc.Audy

	remove some GWorlds

Change 3139701 on 2016/09/26 by Jurre.deBaare

	Assert failed on GemetryCache for PS4 package
	#fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files
	#jira UE-36392

Change 3139704 on 2016/09/26 by Jurre.deBaare

	Fix for -1 begin frame
	#fix do the max as an signed int, to make sure we don't wrap around

Change 3139748 on 2016/09/26 by Benn.Gallagher

	PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri)

	Moved the definition of the boundary to a FPhysScene class static
	Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary

	#jira UE-35736

Change 3139903 on 2016/09/26 by Benn.Gallagher

	Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values
	#jira UE-34366

Change 3140409 on 2016/09/26 by Lukasz.Furman

	fixed uninitialized configs of gameplay debugger
	copy of CL# 3140399

Change 3140516 on 2016/09/26 by dan.reynolds

	AEOverview Map Update - Ambient Zone + Focus Test

Change 3140526 on 2016/09/26 by Jon.Nabozny

	#rn Fixed CanJump inconsistencies with previous versions.

	Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how
	jump count and hold time were compared in CanJump.

	#jira UE-35524, UE-35582

Change 3140745 on 2016/09/26 by dan.reynolds

	AEOverview Test Map Update + Occlusion Test

Change 3140839 on 2016/09/26 by dan.reynolds

	AEOverview - minor updates

Change 3141101 on 2016/09/27 by Thomas.Sarkanen

	Preview scene worlds now render correctly

	Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index).
	In-game hidden flags now apply to GamePreview, but not EditorPreview worlds.
	Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose.
	Fixed up UT cases where this was being used.
	FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport).
	Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview.
	Fixed erroneous use of TEnumAsByte for non-uproperty WorldType.

	#jira UE-22883 - Using FPreviewScenes in-game for scene captures

Change 3141106 on 2016/09/27 by Thomas.Sarkanen

	Column toggling improvements

	Column toggle menu now does not close when items are selected.
	This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection.
	Also allowed columns to be hidden by default for specific use cases (like the sequence browser).

	#jira UE-35818 - Anim asset browser column picker should stay up

Change 3141131 on 2016/09/27 by Thomas.Sarkanen

	Fix CIS warnings

	Fallout from preview world changes

Change 3141143 on 2016/09/27 by Jurre.deBaare

	Fix for CIS errors

Change 3141235 on 2016/09/27 by Thomas.Sarkanen

	Fix offset of Persona floor mesh when auto-alignment is enabled

	When auto alignment was disabled, the offset wasnt getting taken into account.

	#jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled

Change 3141327 on 2016/09/27 by Marc.Audy

	Ensure that the client side AttachChildren array remains accurate
	#jira UE-26025

Change 3141474 on 2016/09/27 by mason.seay

	Updating test map name and moving PlayerStart

Change 3141501 on 2016/09/27 by Benn.Gallagher

	Loading time improvements for destructibles from Nvidia
	Updated to use new framework custom version instead of global object version
	Fixed usage of TArray to enable correct loading and saving of the cached data.
	#jira UE-29680

Change 3141889 on 2016/09/27 by Marc.Audy

	Fix DestructibleMesh when WITH_APEX is 0
	#jira UE-36484

Change 3142034 on 2016/09/27 by Marc.Audy

	Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971

Change 3142131 on 2016/09/27 by Ori.Cohen

	Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query.

	#JIRA UE-36381

Change 3142154 on 2016/09/27 by Ori.Cohen

	Fix build, ModuleCachedData instead of NxApexModuleCachedData

Change 3142159 on 2016/09/27 by mason.seay

	Blueprint for testing Child Actor Templates

Change 3142255 on 2016/09/27 by Jon.Nabozny

	Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument.

	#jira UE-35199, UE-35197, UE-35201

Change 3142717 on 2016/09/27 by dan.reynolds

	AEOverview Update + Sound Class Test

Change 3142764 on 2016/09/27 by Marc.Audy

	Fix Ocean deprecation warnings

Change 3142962 on 2016/09/28 by Thomas.Sarkanen

	Fixed bounds calculations for local camera animations

	Correctly calculated bounds as local to the initial transform in the track.
	Implemented suggested fixes from UDN user chhaddon (The Coalition).

	#jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true

Change 3143007 on 2016/09/28 by Martin.Wilson

	Added virtual bones to USkeleton

	API Breaking change:
	-Added USkeleton pointer to RemoveBonesByName
	-FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead

	#jira UEFW-81

Change 3143040 on 2016/09/28 by James.Golding

	Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG
	Fix up game projects to compile in Shipping/Test after this change

	PR #2757: (Contributed by projectgheist)
	#jira UE-35488

Change 3143046 on 2016/09/28 by James.Golding

	Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file)

Change 3143047 on 2016/09/28 by James.Golding

	PR #2731: Capsule primitive drawing fix (Contributed by kamrann)
	#jira UE-35142

Change 3143050 on 2016/09/28 by Martin.Wilson

	Update DDC key as some animation have stale data

Change 3143088 on 2016/09/28 by Martin.Wilson

	CIS Fixes for Ocean after FReferenceSkeleton changes

Change 3143090 on 2016/09/28 by Benn.Gallagher

	Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it.
	#jira UE-36482

Change 3143091 on 2016/09/28 by Thomas.Sarkanen

	Fix play/pause keyboard shortcut toggle in Persona based editors

	Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks).
	Added the ability for FEdModes to specify whether they can use a widget mode.
	Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now).

	#jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused

Change 3143100 on 2016/09/28 by James.Golding

	UE-32275  Fix Anim Curve entries losing Auto state when hidden/reshown

Change 3143107 on 2016/09/28 by Martin.Wilson

	Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us

	#jira UE-34431

Change 3143125 on 2016/09/28 by Jurre.deBaare

	PR #2749: Fix blend space triangulation (Contributed by tmiv)

Change 3143225 on 2016/09/28 by Jurre.deBaare

	Mesh/material merging basic test files

Change 3143235 on 2016/09/28 by Martin.Wilson

	Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section

	#jira UE-35929

Change 3143312 on 2016/09/28 by Marc.Audy

	Don't globally reregister components, globally recreate render state instead when force deleting assets
	Fixes crash force deleting a blueprint with a child actor component in it from the content browser

Change 3143340 on 2016/09/28 by Mieszko.Zielinski

	Improved consistency of loudness usage in AISense_Hearing #UE4

Change 3143359 on 2016/09/28 by Marc.Audy

	Fix spelling error in comment

Change 3143372 on 2016/09/28 by Jurre.deBaare

	HLOD meshes are causing degenerate triangles
	#fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers
	#jira UE-34336

Change 3143420 on 2016/09/28 by Mieszko.Zielinski

	Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4

Change 3143421 on 2016/09/28 by Martin.Wilson

	Allow reading on animation sequence length in blueprints

	#jira UE-34168

Change 3143455 on 2016/09/28 by James.Golding

	Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds.
	Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions

Change 3143518 on 2016/09/28 by Jurre.deBaare

	Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material
	#fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material)
	#misc set texture sampling for HLOD proxy base material to clamp
	#jira UE-35221

Change 3143542 on 2016/09/28 by James.Golding

	Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if
	Fix comment
	Enable by default for FN

Change 3143543 on 2016/09/28 by Benn.Gallagher

	Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton.

Change 3143556 on 2016/09/28 by Aaron.McLeran

	UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE

Change 3143566 on 2016/09/28 by Benn.Gallagher

	Readded early out alongside new ensure for catching bad preFilter shapes

Change 3143568 on 2016/09/28 by Marc.Audy

	Fix deprecation warnings in UT

Change 3143572 on 2016/09/28 by Jurre.deBaare

	More test content for mesh/material merging

Change 3143581 on 2016/09/28 by Jurre.deBaare

	More content :D

Change 3143585 on 2016/09/28 by Jurre.deBaare

	Geometry cache cleaning
	#misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump)
	#misc cleaning out unecessary code

Change 3143594 on 2016/09/28 by Marc.Audy

	Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template
	#jira UE-36511

Change 3143658 on 2016/09/28 by Marc.Audy

	RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference
	#jira UE-36553

Change 3143776 on 2016/09/28 by Marc.Audy

	Properly reinstance child actor templates when using the fast reinstancing path
	#jira UE-36516

Change 3143896 on 2016/09/28 by Ori.Cohen

	Remove UPROPERTY on aggregate threshold which is always read from the physics settings.

Change 3144022 on 2016/09/28 by Ben.Zeigler

	Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system

Change 3144252 on 2016/09/28 by mason.seay

	More blueprints for child actor template testing

Change 3144262 on 2016/09/28 by Mason.Seay

	Deleting assets

Change 3144283 on 2016/09/28 by dan.reynolds

	AEOverview update + Sound Priority Test

Change 3144411 on 2016/09/28 by dan.reynolds

	AEOverview end of day update and tweaks

Change 3144679 on 2016/09/29 by Benn.Gallagher

	Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth.

Change 3144856 on 2016/09/29 by Jurre.deBaare

	HLOD Outliner scrolls back to the top when generating proxy meshes
	#fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview
	#jira UE-30384

Change 3144864 on 2016/09/29 by Thomas.Sarkanen

	Preview mesh fixes

	Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen).
	Skeleton preview meshes are now shown as empty if none is set (but a default is chosen).

	#jira UE-36582 - Cannot set preview mesh per-animation

Change 3144865 on 2016/09/29 by Jurre.deBaare

	More test content

Change 3144885 on 2016/09/29 by James.Golding

	UE-35307  Move 'invalid scale' warning to Message Log to be more visible in editor
	Change scale clamping in UpdateBodyScale to catch cases like (1,0,1)

Change 3144903 on 2016/09/29 by Thomas.Sarkanen

	Deprecating StaticMesh in UStaticMeshComponent

	Added GetStaticMesh to access the value as read-only.
	SetStaticMesh is now called in all locations that used to call "StaticMesh =".
	Lots of fixups.

	#jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent

Change 3145020 on 2016/09/29 by Thomas.Sarkanen

	Fix bounds calculations that include bones to respect LOD (and other requried bones)

	Sometimes bones would not be updated if we LOD switched, extending the bounds.

	#jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD

Change 3145041 on 2016/09/29 by Jurre.deBaare

	Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results
	#fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh
	#misc ignore the source lightmap uv channels to reduce data
	#jira UE-36595

Change 3145219 on 2016/09/29 by Benn.Gallagher

	Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time.
	#jira UE-36552

Change 3145222 on 2016/09/29 by Jurre.deBaare

	Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash
	#fix on import set _all_ bone influence to 0
	#jira UE-36602

Change 3145267 on 2016/09/29 by Ori.Cohen

	Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults.

	#JIRA UE-36483

Change 3145306 on 2016/09/29 by Jon.Nabozny

	Fixed PhAT so multiple constraints can be selected and edited properly at the same time.

	#JIRA: UE-31493

Change 3145342 on 2016/09/29 by Marc.Audy

	Do not update cull distance volumes whenever any property changes
	* Any movement or property change of a cull distance volume still does a global update
	* Any movement of a component belong to any other Actor updates only the components of that Actor
	* Any property change of a primitive component only updates that component
	#jira UE-36399

Change 3145958 on 2016/09/29 by Marc.Audy

	In game worlds don't auto activate components until the actor is ready to process them
	#jira UE-35189

Change 3146110 on 2016/09/29 by dan.reynolds

	AEOverview update + Soundwave Procedural Test Map

Change 3146375 on 2016/09/30 by Benn.Gallagher

	Fixed crash saving newly created destructible mesh after material refactor.
	#jira UE-36619

Change 3146378 on 2016/09/30 by James.Golding

	UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before)
	Also add stat for FBodyInstance::LineTrace

Change 3146379 on 2016/09/30 by James.Golding

	Add test assets for creating procmesh collision in non-editor builds

Change 3146386 on 2016/09/30 by Thomas.Sarkanen

	Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports

	Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance.
	This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used.

	#jira UE-36251 - Ensures showing uncompressed animations in anim blueprints

Change 3146464 on 2016/09/30 by Thomas.Sarkanen

	Fix layered blend per bone odd/even connection counts alternately working/not working

	Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName.

	#jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs

Change 3146652 on 2016/09/30 by Benn.Gallagher

	Fixed subinstance properties appearing in the caller's details panel as oddly named properties.
	#jira UE-34141

Change 3146673 on 2016/09/30 by Martin.Wilson

	Make RawAnimationData (and associated anim sequence data) private

	#jira ue-25869

Change 3146680 on 2016/09/30 by Benn.Gallagher

	Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node
	#jira UE-29847

Change 3146681 on 2016/09/30 by Benn.Gallagher

	Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node
	#jira UE-30885

Change 3146711 on 2016/09/30 by Jon.Nabozny

	Fix PhAT SnapConstraintToBone.

	#jira UE-31491

Change 3146717 on 2016/09/30 by Danny.Bouimad

	Adding Jurres really useful merge actor test assets to somewhere QA can get em.

Change 3146738 on 2016/09/30 by Martin.Wilson

	Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1

	#tests Editor tests with mambo pose asset
	#jira UE-36189

Change 3146750 on 2016/09/30 by Jurre.deBaare

	Material baking issue
	#misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture)
	#misc Replaced incorrect masks with _way_  better approach thanks to Martin

Change 3146755 on 2016/09/30 by Jurre.deBaare

	Need better progress bar for HLOD
	#fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback
	#jira UE-34334

Change 3147085 on 2016/09/30 by Marc.Audy

	PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay)
	#jira UE-36632

Change 3147224 on 2016/09/30 by Martin.Wilson

	CIS Fix

Change 3147280 on 2016/09/30 by Marc.Audy

	Mouse smoothing should use application frame rate, not the dilated game frame rate
	#jira UE-31040

Change 3147446 on 2016/09/30 by Aaron.McLeran

	UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly

Change 3147693 on 2016/09/30 by Ben.Zeigler

	#jira UE-36657
	If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location

Change 3147697 on 2016/09/30 by Jon.Nabozny

	Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX

	#jira UE-30486

Change 3147761 on 2016/09/30 by Jon.Nabozny

	Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage.

Change 3148533 on 2016/10/03 by Thomas.Sarkanen

	Fix new deprecation warnings introduced by the pull from main

Change 3148567 on 2016/10/03 by Marc.Audy

	Fix crash when exiting PIE while a panoramic screenshot is being taken
	Make stereo panorama tick with the world it is operating on
	#jira UE-36492

Change 3148571 on 2016/10/03 by Marc.Audy

	Allow modification of components that are EditAnywhere but don't exist in the CDO
	#jira UE-36694

Change 3148607 on 2016/10/03 by Martin.Wilson

	Properly end notify states when we clear the anim instance on a skeletal mesh.

	#jira UE-32488

Change 3148711 on 2016/10/03 by Martin.Wilson

	Fix type in virtual bone tooltip

	#jira UE-36703

Change 3148746 on 2016/10/03 by Benn.Gallagher

	Fixed a few cases where post process and sub instance anim calls weren't being made correctly.
	#jira UE-36529

Change 3148807 on 2016/10/03 by Martin.Wilson

	Fix mismatch skeleton error when undoing virtual bone changes

	#jira UE-36705

Change 3148812 on 2016/10/03 by Martin.Wilson

	Add undo support to removing virtual bones

	#jira UE-36706

Change 3148975 on 2016/10/03 by Jurre.deBaare

	Issue with combining meshes both with/without normal maps
	#fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect)
	#misc fixed issue in function to set texture rectangle to a single colour
	#misc spotted comparison error

Change 3148976 on 2016/10/03 by Ori.Cohen

	Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs

	#JIRA UE-36639

Change 3148991 on 2016/10/03 by Jurre.deBaare

	Changing LOD materials on Merged Actors Crashes Editor
	#fix take into account LOD that is using the material when remapping (removing duplicate) materials
	#jira UE-35883

Change 3148997 on 2016/10/03 by Jurre.deBaare

	Make sure we remove matrix samples that fall outside of the import range and remap those that are in range

Change 3149002 on 2016/10/03 by Jurre.deBaare

	Issues with importing Alembic caches using  matrix transformations
	#fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from

Change 3149030 on 2016/10/03 by Martin.Wilson

	Dont show save warning on animations when we have curve data

	#jira UE-34145

Change 3149115 on 2016/10/03 by Mieszko.Zielinski

	Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4

	#jira UE-35153

Change 3149186 on 2016/10/03 by Ben.Zeigler

	#UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location
	There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it.
	This code is weird but this solution is better than the old version and handles inconsistent results

Change 3149235 on 2016/10/03 by Martin.Wilson

	Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself.

	#jira UE-20005

Change 3149245 on 2016/10/03 by Marc.Audy

	Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates.

Change 3149397 on 2016/10/03 by Ori.Cohen

	Fix collision profile writing out response values to channels that don't exist.

	#JIRA UE-36359

Change 3149679 on 2016/10/03 by Zak.Middleton

	#ue4 -  Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category.

Change 3149929 on 2016/10/04 by Jurre.deBaare

	Fix for CIS errors
	#fix Mac didn't like undefined struct

Change 3149977 on 2016/10/04 by danny.bouimad

	Massive update to Merge Actor test files

Change 3150014 on 2016/10/04 by James.Golding

	UE-36686 Fix crash when slicing and not creating other section

Change 3150016 on 2016/10/04 by James.Golding

	UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging

Change 3150019 on 2016/10/04 by James.Golding

	UE-36737 Fix LineTraceComponent not returning face index

Change 3150020 on 2016/10/04 by James.Golding

	UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module

Change 3150027 on 2016/10/04 by Ben.Marsh

	Add PhysX build option into Dev-Framework.

Change 3150042 on 2016/10/04 by Benn.Gallagher

	Fixed clothing example 1.3 collision glitches

Change 3150172 on 2016/10/04 by Benn.Gallagher

	Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them.
	#jira UE-36589

Change 3150319 on 2016/10/04 by Ori.Cohen

	Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future.

	#JIRA UE-36535, UE-36504

Change 3150355 on 2016/10/04 by Zak.Middleton

	#ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast.

Change 3150370 on 2016/10/04 by Ori.Cohen

	Fix deferred actors not getting flushed.

Change 3150386 on 2016/10/04 by Martin.Wilson

	Fix additive animation check failing in cooked builds when using virtual bones

	#jira UE-36743

Change 3150424 on 2016/10/04 by Ori.Cohen

	Exclude kinematic actors from active transforms generation.

Change 3150613 on 2016/10/04 by Zak.Middleton

	#ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject.

	(Mirror CL 3138304  in Orion-DevGeneral)

	#jira UE-36810
	#tests compiled

Change 3150679 on 2016/10/04 by Ben.Zeigler

	Crash fix with no async scene

Change 3150765 on 2016/10/04 by Ben.Zeigler

	Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct
	Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it
	This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing

Change 3150796 on 2016/10/04 by Marc.Audy

	Fix LOCTEXT warnings related to blueprint class menu options

Change 3150806 on 2016/10/04 by Ben.Zeigler

	Fix bad text format in import error message, lead to double error

Change 3150891 on 2016/10/04 by Ben.Zeigler

	#jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global

Change 3150914 on 2016/10/04 by Marc.Audy

	Don't try to recreate render state if it has already been recreated while the recreate context was active
	#jira UE-36590

Change 3151195 on 2016/10/04 by Dan.Reynolds

	Updates to QASoundWaveProcedural

	QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave.  Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square).  Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing.

Change 3151233 on 2016/10/04 by Ben.Zeigler

	#jira UE-36836 Fix variable shadowing warnings

Change 3151328 on 2016/10/04 by dan.reynolds

	AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP

Change 3151461 on 2016/10/05 by Thomas.Sarkanen

	Fix localization warnings

	#jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings

Change 3151546 on 2016/10/05 by Martin.Wilson

	Fix pose watch regression due to persona refactor changes.

	#jira UE-36851

Change 3151587 on 2016/10/05 by Jurre.deBaare

	Updating Simplygon to SDK version 8.0
	#misc removed redundant files
	#misc fixed landscape culling in merge actor path
	#misc added support for volume culling using simplygon
	#misc fixed when or not to use mesh data for material baking

	#notes
	Change: 3137650
	Date: 23/09/2016 07:57
	Client: Mustafa.Tungekar_Dev-Partner-Simplygon
	User: Mustafa.Tungekar
	Status: submitted
	Type: restricted
	ImportedBy:
	Identity:
	Description:
	-Renamed commandline variables for ZipUtils AutomationScript
	-Implemented Execute instead of ExecuteBuild
	-Updated commandline arguments in SimplygonSwarm
	JobStatus:
	Jobs:
	Files:
	//UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4
	//UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2
	Change: 3137649
	Date: 23/09/2016 07:56
	Client: Mustafa.Tungekar_Dev-Partner-Simplygon
	User: Mustafa.Tungekar
	Status: submitted
	Type: restricted
	ImportedBy:
	Identity:
	Description:
	Moved file hash computation to ImportObject
	JobStatus:
	Jobs:
	Files:
	//UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4
	//UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4
	Change: 3137646
	Date: 23/09/2016 07:55
	Client: Mustafa.Tungekar_Dev-Partner-Simplygon
	User: Mustafa.Tungekar
	Status: submitted
	Type: restricted
	ImportedBy:
	Identity:
	Description:
	Fixes CL3099204
	EditorPerProjectUserSetting
	Removed ConfigRestartRequired attribute from properties where it was not required
	MeshUtilities
	-Added FProxyFailedDelegate
	-Extended IMeshMerging to include FProxyFailed delegate
	-Added ProxyGenerationFailed method to FProxyGenerationProcessor class
	-Setup FailedDelegate for both MeshMerging and DistributedMeshMerging
	SimplygonMeshReduction
	-Added check for invalid texture id
	-Updated notes and removed commented code that is not required.
	-Setup failed delegate
	-Fixed issue where image data was never hooked into the texture.
	-Fixed issue where texture table was never passed into casters
	SimplygonSwarm
	-Setup failed delegate
	-Fixed RawMesh pointer usage.
	-Move helper method into SimplygonSwarmHelpers.h.
	-Added SimplygonSwarmHelpers
	-Removed redundant constant path to 7-zip
	-Removed GetSimplygonDirectory instead using inplace.
	-Removed commented code that is currently not required.
	-Fixed Typos
	JobStatus:
	Jobs:
	Files:
	//UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3
	//UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3
	//UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4
	//UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3
	//UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1
	//UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3
	Change: 3099204
	Date: 24/08/2016 07:56
	Client: Mustafa.Tungekar_Dev-Partner-Simplygon
	User: Mustafa.Tungekar
	Status: submitted
	Type: restricted
	ImportedBy:
	Identity:
	Description:
	Simplygon 8.0 Updates
	Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0
	EditorPerProjectSettings
	*SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB
	*SwarmNumOfConcurrentJobs for executing number of concurrent jobs
	*Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK)
	SPL, SimplygonSwarm, RESTClient
	*Bumped up SPL Version to 8
	*Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374
	*Removed SPL Templates for version 7.0
	*Added conditional logging to REST methods
	*Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid.
	*Updated method to take in texturepath
	SimplygonMeshReduction
	*Removed minimum version requirement.
	*Bumped up minimum version
	*Chagned license file name to refelect 8.0 changes
	*MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch.
	JobStatus:
	Jobs:
	Files:
	//UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3
	//UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2
	//UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3
	//UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2
	//UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2
	//UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2
	//UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2
	//UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2
	Change: 3099200
	Date: 24/08/2016 07:48
	Client: Mustafa.Tungekar_Dev-Partner-Simplygon
	User: Mustafa.Tungekar
	Status: submitted
	Type: restricted
	ImportedBy:
	Identity:
	Description:
	#fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance
	JobStatus:
	Jobs:
	Files:
	//UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2
	Change: 3099199
	Date: 24/08/2016 07:47
	Client: Mustafa.Tungekar_Dev-Partner-Simplygon
	User: Mustafa.Tungekar
	Status: submitted
	Type: restricted
	ImportedBy:
	Identity:
	Description:
	Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm.
	This will remove any dependency on external zip program and should work across platforms
	JobStatus:
	Jobs:
	Files:
	//UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2
	//UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1
	Change: 3099197
	Date: 24/08/2016 07:40
	Client: Mustafa.Tungekar_Dev-Partner-Simplygon
	User: Mustafa.Tungekar
	Status: submitted
	Type: restricted
	ImportedBy:
	Identity:
	Description:
	*Speed improvements for FBX Scene Importer
	*Added a static method to compute Hash.
	JobStatus:
	Jobs:
	Files:
	//UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3
	//UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3
	//UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2
	//UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2
	//UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2

Change 3151664 on 2016/10/05 by Richard.Hinckley

	Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member.

Change 3151729 on 2016/10/05 by Thomas.Sarkanen

	Audit of remaining NaN checks

	Some checks remain on in shipping (generally those called from blueprint):

	- AActor::TeleportTo
	- AActor::SetActorRelativeScale3D

	#jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test

Change 3151742 on 2016/10/05 by Ori.Cohen

	Make sure that if physical animation component doesn't find a body and bone it doesn't crash.

	#JIRA UE-36839

Change 3151756 on 2016/10/05 by Jurre.deBaare

	Fixing d3dcompiler_47.dll missing issue
	#fix added runtime dependency and dll name to build.cs file
	#fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL

Change 3151761 on 2016/10/05 by Thomas.Sarkanen

	Fix deprecation warning from last integration

	Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd.

	#jira UE-36858 - Compile UE4Editor* completed with 1 warning

Change 3151782 on 2016/10/05 by Jurre.deBaare

	Simplygon patch up
	#misc linker errors popping up from JSONCPP
	#misc incorporated emissive material property fix from other shelve
	#misc static analysis fix

Change 3151804 on 2016/10/05 by Marc.Audy

	Clear need end of frame update when unregistering a component

Change 3151928 on 2016/10/05 by Ori.Cohen

	Fix runtime DLLs not including all delay loaded physx dll files.

	#JIRA UE-36816

Change 3151977 on 2016/10/05 by Martin.Wilson

	Notifies can no longer occupy the same time on the same track.

	#jira UE-30658

Change 3151989 on 2016/10/05 by Jon.Nabozny

	Fix ArchVis character rotation pitch when looking up/down.

	#jira UE-35706

Change 3152083 on 2016/10/05 by Marc.Audy

	Ensure that pending kill components get their marked for end of frame state cleared.

Change 3152086 on 2016/10/05 by Ben.Zeigler

	#jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes
	Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid

Change 3152093 on 2016/10/05 by Marc.Audy

	Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load).
	#jira UE-36146
	#jira UE-24647

Change 3152100 on 2016/10/05 by Ben.Zeigler

	Remove pragma optmize

Change 3152112 on 2016/10/05 by Marc.Audy

	Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072

Change 3152134 on 2016/10/05 by Jurre.deBaare

	Simplygon/Merge actor issues
	#fix for emissive output on meshes that do not have emissive properties
	#fix for texture binning, not removing invalid split area causing overlapped textures

Change 3152136 on 2016/10/05 by James.Golding

	UE-36859 Fix tooltip saying you can click to stop recording

Change 3152169 on 2016/10/05 by James.Golding

	UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData
	ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly
	Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh

Change 3152202 on 2016/10/05 by Jurre.deBaare

	Mac/Linux fix

Change 3152303 on 2016/10/05 by Marc.Audy

	Fix deprecation warning post merge from main

Change 3152320 on 2016/10/05 by Martin.Wilson

	Fix root motion from everything calculating incorrect root motion when animations haven't been ticking

	#jira UE-35364

Change 3152354 on 2016/10/05 by James.Golding

	PoseDriver should pass through if no poses activated

Change 3152357 on 2016/10/05 by James.Golding

	UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim.

Change 3152556 on 2016/10/05 by Marc.Audy

	Remove autos

Change 3152560 on 2016/10/05 by Marc.Audy

	Don't allow child actor references to be dragged from the outliner to a level script
	#jira UE-16700

Change 3152568 on 2016/10/05 by Marc.Audy

	Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters
	Remove deprecated bNoCollisionFail
	#jira UE-35928

Change 3152575 on 2016/10/05 by Marc.Audy

	Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move

Change 3153101 on 2016/10/06 by Thomas.Sarkanen

	Fix crash re-opening the viewport in Persona-based editors

	#jira UE-36775 - Editor crashes when re-opening viewport in Persona

Change 3153139 on 2016/10/06 by James.Golding

	UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported

Change 3153160 on 2016/10/06 by Thomas.Sarkanen

	Fix for crash when deleting additive layer track

	Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr).

	#jira UE-36740 - Crash when removing or disabling an additive layer track in Persona

Change 3153175 on 2016/10/06 by Benn.Gallagher

	Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed.
	#jira UE-36900

Change 3153223 on 2016/10/06 by Thomas.Sarkanen

	Fixed crash when opening an asset from the blend space editor

	Code was still trying to open 'old' Persona when it was disabled.
	Also fix other call sites where this was being done outside of asset type actions.

	#jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona

Change 3153324 on 2016/10/06 by Thomas.Sarkanen

	Prevented invalid GUIDs from being saved into smart name containers

	AddOrFindName now checks to see if existing GUIDs are valid before using them.
	AddName now requires a valid GUID to be passed in.
	Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without  this the skeleton might not get saved.
	Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068).

	#jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset

Change 3153348 on 2016/10/06 by Martin.Wilson

	Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor)

	#jira UE-36751

Change 3153426 on 2016/10/06 by Mieszko.Zielinski

	Added missing elements of block comments support in BT editor #UE4

Change 3153454 on 2016/10/06 by Benn.Gallagher

	Fixed crash using anim debug with subinstances that are preceded by branching nodes.
	#jira UE-36935

[CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
Mike Beach
e3ad00fad4 Backing out CL 3093644 (from Dev-BP) as it ended up causing CIS cook errors.
#jira UE-35192
#rb Dan.OConnor
#lockdown Nick.Penwarden

[CL 3101858 by Mike Beach in Main branch]
2016-08-25 17:13:57 -04:00
Mike Beach
a9d686dd56 Copying //UE4/Dev-Blueprints to //UE4/Dev-Main (Source: //UE4/Dev-Blueprints @ 3099612)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3061854 on 2016/07/22 by Bob.Tellez

	Duplicate CL#3058653 //Fortnite/Main

	#UE4 Now actually removing deprecated pins from non-blueprint graphs. Also MarkPendingKill now happens in UEdGraphNode's BeginDestroy instead of its destructor to ensure supporting code can safely access references to other UObjects.

Change 3068095 on 2016/07/28 by Maciej.Mroz

	#jira UE-32942 BP Nativization: Reduce the size of executable files

	Private and protected properties have PrivatePropertyOffset (PPO) function in .generated.h. This function allows the nativized code to access the property without using UProperty.
	-It reduces the size of executable file (added by nativized plugin) about 10%. The OrionGame.exe (development config) is 6MB smaller.
	-It reduces the number of FindField function calls and stativ variables in the nativized code.

	List of inaccessible properties (that cannot be accessed using PPO) is logged while cooking (with nativization enabled).

Change 3070569 on 2016/07/29 by Bob.Tellez

	Duplicating CL#3070518 from //Fortnite/Main

	#UE4 Deprecated pin removal logic is now exclusively in UEdGraphNode::PostLoad. DeprecatedPinWatches fixup is now done in K2Node::PostLoad.

Change 3081792 on 2016/08/08 by Dan.Oconnor

	Widget and Animation blueprint diffing is no longer experimental, added warning explaining shortcomings. This is preferrable because the text diff is basically useless
	#jira UE-1234

Change 3081865 on 2016/08/09 by Dan.Oconnor

	build fix
	#jria UE-1234

Change 3082839 on 2016/08/09 by Bob.Tellez

	Duplicating CL#3082835 from //Fortnite/Main

	#UE4 Fix an issue where changing an array property in the defaults will leave the custom property chain stale until it is compiled, causing a crash in some circumstances.

Change 3083367 on 2016/08/09 by Dan.Oconnor

	Fix for actors detaching when compiling a blueprint, needed to read attachment data before actors are destroyed, in case we're attached to another instance of the same type. Deemed too risky for 4.13.
	#jira UE-33278

Change 3083825 on 2016/08/10 by Maciej.Mroz

	#jira UE-34372 [CrashReport] UE4Editor_CoreUObject!StaticAllocateObject() [uobjectglobals.cpp:2102]

	VariableNames are validated at the begining of FKismetCompilerContext::Compile, because the validation requires CDO.
	Removed legacy code from FBlueprintEditorUtils::RenameMemberVariable.

Change 3084313 on 2016/08/10 by Maciej.Mroz

	#jira UE-33883 Packaging with Nativize Blueprint Assets Causes Uninitialized Defaults

Change 3085572 on 2016/08/11 by Maciej.Mroz

	#jira UE-34436 Ensures when copy/pasting linked anim bp nodes

	Redone cl#3085568 from 4.13 branch

	FGraphObjectTextFactory doesn't call compilation (it is called later by FBlueprintEditor::PasteNodesHere, when all nodes are pasted). CallFunction can be pasted even when it's function doesn't exist. The function could be created from a CustomEvent node, that was also pasted (so it wasn't compiled yet).

Change 3087171 on 2016/08/12 by Maciej.Mroz

	BP Nativization:
	- FCustomThunkTemplates functions have the same declarations as original functions in Kismet Array Library
	- Properly declared scope of final functions
	- "AdditionalPublicDependencyModuleNames" option in "BlueprintNativizationSettings" (applied in Orion)

Change 3088713 on 2016/08/15 by Ben.Cosh

	This updates the tunnel boundary compile time code to catch end of thread execution inside tunnels and provide instrumentation for it.
	#Jira UE-33563 - Macros without any outputs do not have their stats listed when called from a Keypress Event when profiling.
	#Proj BlueprintGraph, BlueprintProfiler, Kismet, KismetCompiler, UnrealEd

Change 3088734 on 2016/08/15 by Ben.Cosh

	Minor change to the changes submitted in CL 3088713 after finding an issue during use.
	#Jira UE-33563 - Macros without any outputs do not have their stats listed when called from a Keypress Event when profiling.
	#Proj BlueprintGraph, BlueprintProfiler, Kismet, KismetCompiler, UnrealEd

Change 3091248 on 2016/08/16 by Dan.Oconnor

	Removing unused function

Change 3091555 on 2016/08/17 by Maciej.Mroz

	#jira UE-34745 [CrashReport] UE4Editor_BlueprintGraph!UEdGraphSchema_K2::CreateSubstituteNode() [edgraphschema_k2.cpp:5601]

	Fixed unsafe code.

Change 3091767 on 2016/08/17 by Ben.Cosh

	Minor refresh on the threshold settings interface to allow more immediate visualisation of thresholds.
	#Jira UE-33572 - BP Profiler - Refresh heatmap coloring when thresholds changed.
	#Jira UE-33702 - BP Profiler - Custom heatmap thresholds appear to be broken
	#Jira UE-33698 - BP Profiler: Default heatmaps to on
	#Proj Kismet, BlueprintProfiler

	Reviewer notes:

	- Added an interfacel to indicate if performance thresholds have changed in BlueprintProfilerSettings so we can action changes
	- Added code to force update heat interfaces in the blueprintprofiler if thresholds are dirty.
	- Modified the BlueprintProfilerToolbar to reflect the above changes and only save settings when the combo dialog is closed ( saving on change makes the sliders unusable )
	- Fixed the custom thresholds ( made them reciprical ) for testing.
	- Node heatmaps default to average
	- Heatmap display modes now get saved to the config

Change 3091770 on 2016/08/17 by Ben.Cosh

	Refresh on the blueprint profiler node heatmaps
	#Jira UE-34802 - Fix the blueprint profiler node heatmaps, the current visualisation is first pass prototype.
	#Proj GraphEditor, EditorStyle

	Reviewer notes:

	- Quick update on the node heatmaps moving to a more graph editor sympathetic approach in code
	- Removed the old interfaces and added a new overlay pass in the grapheditor processed before the node shadow brushes.
	- Now the nodes have an outline/glow heatmap that doesn't color the node body ( I have an alternate set of images that also color the body if we decide on we still want that )

Change 3091972 on 2016/08/17 by Ben.Cosh

	Changing the blueprint profiler heatmap displays to be full node colorisation.
	#Jira none

Change 3092515 on 2016/08/17 by Ryan.Rauschkolb

	Fixed Struct Ref pin in UK2Node_SetFieldsInStruct can be split when optional pins are visible
	#UE-34060

Change 3093644 on 2016/08/18 by Maciej.Mroz

	#jira UE-31754 BP interface signature change doesn't update child Blueprint

	- Introduced FCustomCompilationSettingsMap. FKismetEditorUtilities::CompileBlueprint can compile many blueprints (due to reinstaning), now we can specify separate compilation settings for each BP.
	- Simplified FKismetEditorUtilities::CompileBlueprint parameters list
	- FunctionEntry and FunctionResult nodes depends on Interface (if they implement a function , that was declared in the interface).
	- Interface is primary source of function signature (previously it was parent class)
	- When an Interface is compiled all BPs, that implement it, have refreshed nodes in proper order.
	- FBlueprintEditor::Compile ensures, that all parent classes of current BP are up-to-date

Change 3093694 on 2016/08/18 by samuel.proctor

	Adding members to QA Test UDS

Change 3096778 on 2016/08/22 by Mike.Beach

	Fixing Dev-BP CIS - closing bracket was mistakenly removed (thanks auto-merge).

Change 3097150 on 2016/08/22 by Mike.Beach

	When converting function entry/exit nodes from an interface, set the replacement user-defined pins "DesiredDirection" properly (we now reject pins that don't match the expected direction, and user-defined pins created this way were setup wrong).

	#jira UE-34985

Change 3097878 on 2016/08/23 by Ryan.Rauschkolb

	BP Profiler: Fixed stack overflow when compiling tunnels that contain loops
	#jira UE-34767

Change 3098294 on 2016/08/23 by Maciej.Mroz

	#jira UE-30031, UE-34760, UE-34761

	- Use Delta Serialization when exporting UDS value as text
	- Default Values of Local Variables (of UDS type) are refreshed while BP regeneration
	- Importing struct from text uses property guid (see CustomFindProperty)

Change 3098599 on 2016/08/23 by Ryan.Rauschkolb

	Fixed option for split struct pin not appearing in context menu
	#jira UE-35108

[CL 3100065 by Mike Beach in Main branch]
2016-08-24 16:19:07 -04:00
Mike Beach
5f72049a23 Copying //UE4/Dev-Blueprints to //UE4/Dev-Main (Source: //UE4/Dev-Blueprints @ 3080732)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3058607 on 2016/07/20 by Mike.Beach

	Preventing a uneeded FStructOnScope allocation from happening - was causing issues with the memstomp allocator (internally, FStructOnScope was allocating mem of zero size and then asserting on the returned pointer).

Change 3059586 on 2016/07/21 by Maciej.Mroz

	Added comments

Change 3061614 on 2016/07/22 by Ben.Cosh

	Fix for a bug in the blueprint profiler tunnel mapping code that caused asserts when internal pure tunnel pins were linked to each other as pass thru.
	#Jira UE-33654 - Editor crash on compilation when feeding impure data to macros implemented via blueprint while profiling is enabled
	#Jira UE-33138 - BP Profiler: crash when trying to set child actor in profiler
	#Proj BlueprintProfiler

Change 3061686 on 2016/07/22 by Mike.Beach

	Keeping cyclically dependent Blueprints from infinitely trying to recompile each other, when both have an unrelated error that will not be resolved by compiling the other.

Change 3061760 on 2016/07/22 by Ben.Cosh

	Minor refactor of the delegate event code in the profiler to fix some stubborn issues.
	#Jira UE-33466 - Key events still have problems with recording event stats correctly
	#Proj BlueprintProfiler, Kismet

Change 3061819 on 2016/07/22 by Maciej.Mroz

	#jira UE-26676 Blueprint native events give error when output ref params aren't in a specific order

	Force a overriden function to have the same parameter's order as the original one.

Change 3061854 on 2016/07/22 by Bob.Tellez

	Duplicate CL#3058653 //Fortnite/Main

	#UE4 Now actually removing deprecated pins from non-blueprint graphs. Also MarkPendingKill now happens in UEdGraphNode's BeginDestroy instead of its destructor to ensure supporting code can safely access references to other UObjects.

Change 3062634 on 2016/07/23 by Mike.Beach

	Accounting for EditablePinBase nodes whose UserDefinedPins have the wrong direction assigned to them (we now validate the direction, and expect it to reflect the EdGraphPin's). We already had made this fixup in CustomEvent nodes, but others (like collapsed tunnels, and math expression nodes) needed the fixup as well.

Change 3062926 on 2016/07/25 by Ben.Cosh

	Added functionality to the blueprint compiler to detect local event function calls and handle them better in profiling conditions.
	#Jira UE-32869 - Nodes called after a custom event call do not record stats in the profiler
	#Proj CoreUObject, BlueprintProfiler, UnrealEd, KismetCompiler, BlueprintGraph

	- Added script emitted inline event start/stop calls for inline events so we can pull out and process these events discretely
	- Looked into adding something similar for all events but couldn't find a good place to put it/get it operational so it caught more standard events.

Change 3063406 on 2016/07/25 by Ben.Cosh

	Modifying the execution graph selection highlight coloring.
	#Jira none
	#Proj EditorStyle

Change 3063505 on 2016/07/25 by Ben.Cosh

	The blueprint profiler tunnel mapping was missing a call seek past reroute nodes
	#Jira UE-33670 - Reroute nodes used in 'for' loops break profiler communication
	#Proj BlueprintProfiler

Change 3063508 on 2016/07/25 by Ben.Cosh

	Fixed a minor bug in the stat creation code that reported tunnel pure timings twice.
	#Jira UE-33707 - BP Profiler - Pure nodes internal to macro reported twice in tree view
	#Proj Kismet

Change 3063511 on 2016/07/25 by Ben.Cosh

	Fix for a bug introduced that caused pie instances to mapped twice in the blueprint profiler.
	#Jira UE-33697 - BP Profiler: Extra instance showing up in the tree view
	#Proj BlueprintProfiler

Change 3063627 on 2016/07/25 by Maciej.Mroz

	#jira UE-33027 Crash when implementing interface to child blueprint and then implementing it with parent blueprint

	Removed premature validation.

Change 3064349 on 2016/07/26 by Maciej.Mroz

	#jira UE-32942 BP Nativization: Reduce the size of executable files

	Enabled and fixed local variables on event graph. Local variable can be only created as return value (so we're sure it doesn't require any resistency between calls.)
	It reduces size of executable file (2MB in Orion.exe dev config).
	It reduces number of member variables in nativized class (local varaibles in functions are not uproperties, so the number of generated of objects decreases).

Change 3064788 on 2016/07/26 by Ryan.Rauschkolb

	Fixed Splitting a Rotation input struct pin results in any previously entered values shifting to a different axis
	#UE-31931

Change 3064828 on 2016/07/26 by Ryan.Rauschkolb

	Removed flag to disable Single Layout Blueprint Editor (no longer experimental feature)
	#jira UE-32038

Change 3064966 on 2016/07/26 by Ryan.Rauschkolb

	Fixed Comment bubbles don't handle widget visibility correctly
	#UE-21278

Change 3068095 on 2016/07/28 by Maciej.Mroz

	#jira UE-32942 BP Nativization: Reduce the size of executable files

	Private and protected properties have PrivatePropertyOffset (PPO) function in .generated.h. This function allows the nativized code to access the property without using UProperty.
	-It reduces the size of executable file (added by nativized plugin) about 10%. The OrionGame.exe (development config) is 6MB smaller.
	-It reduces the number of FindField function calls and stativ variables in the nativized code.

	List of inaccessible properties (that cannot be accessed using PPO) is logged while cooking (with nativization enabled).

Change 3068122 on 2016/07/28 by Maciej.Mroz

	#jira UE-32942 BP Nativization: Reduce the size of executable files

	Hardcoded asset paths are split, so string literals can be better reused.
	Added UDynamicClass::FindStructPropertyChecked. It replaces FindFieldChecked<UStructProperty>, without inlining, and implicit FName constructor.

	It reduced the size of OrionGame.exe 1MB.

Change 3068159 on 2016/07/28 by Maciej.Mroz

	#jira UE-32806 GitHub 2569 : Exposed GetComponentByClass to blueprint
	#2569: Exposed GetComponentByClass to blueprint (Contributed by Koderz)

Change 3069715 on 2016/07/29 by Maciej.Mroz

	#jira UE-33460 [CrashReport] UE4Editor_CoreUObject!UObjectPropertyBase::ParseObjectPropertyValue() [propertybaseobject.cpp:237]

	UObjectPropertyBase::ParseObjectPropertyValue won;t crash when property is invalid.
	Property validation in UserDefinedStruct. THe struct is not recompiled on load, so it must be validated after serialization.

Change 3070569 on 2016/07/29 by Bob.Tellez

	Duplicating CL#3070518 from //Fortnite/Main

	#UE4 Deprecated pin removal logic is now exclusively in UEdGraphNode::PostLoad. DeprecatedPinWatches fixup is now done in K2Node::PostLoad.

Change 3071292 on 2016/07/30 by Mike.Beach

	Preventing the Blueprint reinstancer's Function/PropertyMap from being GC'd during compile. This was causing issues where new functions/properties were being allocated in the same pointer location, and UpdateBytecodeReferences() was replacing those references as well (specifically in unrelated class's Children->Next chain, linking in functions/properties that did not belong to that class). This was causing a multitude of problems (mainly bad property offset read/writes and endless field iterator loops).

	#jira UE-29631

Change 3072078 on 2016/08/01 by Maciej.Mroz

	#jira UE-33423, UE-33860

	Removed too strint ensures.
	Fixed FGraphObjectTextFactory - After Custom Event nodes are pased, Skel Class is recompiled, because other pasted nodes may require its signature.

Change 3072166 on 2016/08/01 by Dan.Oconnor

	PR #2589: fix EaseIn / EaseOut descriptions (Contributed by dsine-de)

	#jira UE-32997

Change 3072614 on 2016/08/01 by Mike.Beach

	Fixing an issue where hot-reloading a Blueprint parent class was not reinstancing skeleton CDOs. This caused problems later where the skel class layout didn't reflect the CDO object.

	#jira UE-29613
	#codreview Maciej.Mroz, Phillip.Kavan

Change 3073939 on 2016/08/02 by Dan.Oconnor

	Final fix for function graphs that cannot be deleted (bAllowDeletion erroneously set to false). Issue only manifests with assets created before 4.11, as the original bug was fixed in 2842578
	#jira UE-19062

Change 3075793 on 2016/08/03 by Maciej.Mroz

	#jira UE-30473 Moving child component in child blueprint forces parent to become dirty

	Don't make parent BP package dirty, when a component in child BP was modified.

Change 3076990 on 2016/08/04 by Ben.Cosh

	This fixes issues with mapping tunnel boundary pure nodes and addresses some asserts recently introduced.
	#Jira UE-33691 - Assert when compiling Blueprint with profiler instrumentation
	#Jira UE-33138 - BP Profiler: crash when trying to set child actor in profiler
	#Jira UE-33654 - Editor crash on compilation when feeding impure data to macros implemented via blueprint while profiling is enabled
	#Proj Kismet, BlueprintProfiler, BlueprintGraph

	- Fixed inline event detection ( it was causing function stats to fail, happened across it )
	- Updated pure node lookup to use the entry pin, this was required because pure nodes span function contexts and lookup is a problem in nested tunnels.
	- Updated tunnel pure node code, added a stubbed pure chain early on external pure links add this and it maps at an appropriate time.
	- Changed the way nested tunnels are mapped, now only top level tunnels are gathered mapping the blueprint and these map nested tunnels and register them.
	- Updated pure node stat refreshes and heat level updates ( this was causing a bunch of extra cost with my changes )
	- Fixed an issue with script perf data that caused nan's with no samples.
	- Updated pure node playback to cache pure nodes and avoid a second involved lookup when applying timings.
	- Renamed FScriptExecutionPureNode to FScriptExecutionPureChainNode to better reflect it's updated role.
	- Added extra editor stat collection for checking the cost breakdown of the profiler ( hottest path and heat level calcs now have discreet timings )

Change 3079235 on 2016/08/05 by Phillip.Kavan

	Fix for a bug in pi to pure node lookup functionality that caused pure nodes to be mapped more than once.
	#Jira UE-34254 - Crash compiling blueprint with instrumentation - !ScriptExecNode.IsValid()
	#Proj BlueprintProfiler, Kismet

	- Fixed the code to focus observed pins
	- Fixed event pin mapping code that was failing when linked directly to a tunnel node.

	Note: Submitting on behalf of BenC (per MikeB).

Change 3080417 on 2016/08/08 by Ben.Cosh

	This fixes the way execution path stats are calculated.
	#Jira UE-34150 - Exec pin containers in the profiler are accumulating time incorrectly.
	#Proj Kismet

Change 3080484 on 2016/08/08 by Maciej.Mroz

	#jira UE-28625 Direction of GetOverlapInfos parameter doesn't match

Change 3080571 on 2016/08/08 by Ben.Cosh

	This addresses some flaws in the fix submitted in CL 3080417 that were discovered after submission.
	#Jira UE-34150 - Exec pin containers in the profiler are accumulating time incorrectly.
	#Proj Kismet

[CL 3080751 by Mike Beach in Main branch]
2016-08-08 11:42:16 -04:00
Mike Beach
24ef33a9fa Copying //UE4/Dev-Blueprints to //UE4/Dev-Main (Source: //UE4/Dev-Blueprints @ 3025888)
#rb none
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 2927746 on 2016/03/30 by Michael.Schoell

	Local variables in function graphs will now store a hard reference to their UObject value.

	Fixes a crash when a Blueprint is saved before compiling with the local variable's value set. Ensures that the UObject is loaded with the Blueprint.

	#jira UE-27738 - Local variables in a function that is in a blueprint will somehow become invalid when calling a native

Change 2927751 on 2016/03/30 by Michael.Schoell

	Back out changelist 2927746

Change 2986483 on 2016/05/23 by Maciej.Mroz

	#jira UE-30976 Editable enum values set on an instance are lost during nativization

	Added overriden names of Enum keys.

Change 2986712 on 2016/05/23 by Phillip.Kavan

	[UE-21010] Apply updated transform to component template instances when changing the scene root in a Blueprint class.

	change summary:
	- modified SSCS_RowWidget::OnMakeNewRootDropAction() to propagate the location/rotation reset to instances of the component template that's becoming the new scene root.

Change 2987406 on 2016/05/23 by Ryan.Rauschkolb

	Fixed Functions filter in Find-In-Blueprints will show components from the SCS
	#jira UE-30140

Change 2988925 on 2016/05/24 by Ryan.Rauschkolb

	Fixed Issue where certain primitives would not automatically type cast to Text in Blueprint graph.

	#jira UE-20232

Change 2989001 on 2016/05/24 by Dan.Oconnor

	PR #2418: Fixed a typo in Blueprint.h (Contributed by PistonMiner)

	#jira UE-31142

Change 2989447 on 2016/05/25 by Phillip.Kavan

	[UE-30807] Propagate edit condition property value changes to instances of template objects.

	change summary:
	- modified FPropertyEditor::SetEditConditionState() to propagate an EditConditionProperty value change to all instances if the outer owning object is a template (e.g. CDO)

Change 2989804 on 2016/05/25 by Phillip.Kavan

	[UE-30289] Preserve relative scale on the root scene component when converting an Actor instance to a Blueprint Class.

	change summary:
	- modified FKismetEditorUtilities::CreateBlueprintFromActor() to post-copy the relative scale value from the Actor's root component to the new Blueprint CDO's root component

Change 2990234 on 2016/05/25 by Ryan.Rauschkolb

	Fixed issue where including a period ina  Blueprint function causes double-click to fail to open its graph
	#jira UE-4426

Change 2990566 on 2016/05/25 by Mike.Beach

	Better warn logging to help locate variable nodes that emit a "variable not found" message.

Change 2991083 on 2016/05/26 by Maciej.Mroz

	Blueprint nativization: converted classes have "config" specified.

Change 2991363 on 2016/05/26 by Phillip.Kavan

	[UE-19599] Copy-and-paste of Actor instances from level to Blueprint/IWCE component tree views now adds properly-initialized components.

	change summary:
	- modified FCustomizableTextObjectFactory::CanCreateObjectsFromText() to handle "Begin Actor/End Actor" blocks in T3D text
	- modified FCustomizableTextObjectFactory::ProcessBuffer() to handle "Begin Actor/End Actor" blocks in T3D text (so that Actor-type objects can be processed)
	- modified FComponentObjectTextFactory::CanCreateClass() to allow Actor-type objects to pass
	- modified FComponentObjectTextFactory::ProcessConstructedObject() to handle Actor-type objects and pull out owned component instances as constructed objects

Change 2992990 on 2016/05/27 by Ryan.Rauschkolb

	Fixed issue where Connecting Self Reference Pin to a String pin does not fully connect the generated GetDisplayName node
	#jira UE-21973

Change 2992995 on 2016/05/27 by Ryan.Rauschkolb

	Fixed issue where GetClass node is not listed in the Context Menu when pulling from a self node and Context Sensitive is checked.
	#jira UE-30990

Change 2993449 on 2016/05/27 by Phillip.Kavan

	[UE-31379] Don't instrument "preview" Actor instances during Blueprint profiler script event processing.

	change summary:
	- modified FBlueprintProfiler::InstrumentEvent() to check for and bypass Actor instances belonging to a preview or inactive world type.

Change 2993531 on 2016/05/27 by Mike.Beach

	PR #2433: Interface functions inherited from a native base class now appear in . (Contributed by MichaelSchoell)

Change 2993969 on 2016/05/30 by Maciej.Mroz

	UE-30729 Crash in Native Orion when selecting Sword or Tomahawk

	Clear AsyncLoading in subobjects.

Change 2993990 on 2016/05/30 by Phillip.Kavan

	[UE-30984] Exclude reroute nodes from Blueprint profiler node mapping.

	change summary:
	- modified FBlueprintFunctionContext::MapInputPins() to pass through non-relevant nodes when iterating through non-exec input pin links.
	- modified FBlueprintFunctionContext::MapExecPins() to pass through non-relevant nodes when iterating through output exec pin links.
	- modified FBlueprintFunctionContext::MapTunnelEntry() to pass through non-relevant nodes when iterating through tunnel node exit points.
	- modified FBlueprintFunctionContext::MapTunnelInstance() to pass through non-relevant nodes when iterating through tunnel graph entry points.

Change 2994591 on 2016/05/31 by Ryan.Rauschkolb

	Fixed issue where inherited Blueprint variable would not show parent's replications settings
	#jira UE-18912

Change 2994613 on 2016/05/31 by Ben.Cosh

	Minor refactor and Various fixes to the blueprint profiler moving towards MVP goal.

	#Jira UE-27039 - Blueprint Profiler does not lists stats when calling an Event Dispatcher
	#Jira UE-31396 - Blueprint profiler crashes inside the profiler connection drawing policy
	#Jira UE-30957 - "Pure Time" does not populate with data in the Blueprint Profiler
	#Jira UE-30926 - Blueprint profiler - expose heatmap thresholds to user through the profiler tab
	#Jira UE-30909 - Blueprint Profiler - "compile" icon should denote Blueprint's instrumented status
	#Jira UE-30911 - Blueprint profiler tab/panel should display warning when Blueprint is uninstrumented
	#Jira UE-31385 - BP Profiler - Inclusive time column should be entirely filled out
	#Jira UE-31375 - BP Profiler - Default sample averaging to the "arithmetic mean"
	#Jira UE-31377 - BP Profiler - Default tree view filtering to off
	#Jira UE-31387 - BP Profiler - Remove the "view type" button for MVP
	#Jira UE-31384 - BP Profiler - In the tree view, rename the first time column "Avg. Time (ms)"

	Notes:-
	- Sequence node inclusive time fixed
	- Trace History tidy up
	- Compile Icon and status messages for instrumentation
	- Message in the profiler tab for instrumentation
	- Profiler view tidy up and heat thresholds controls added
	- fixed the summed execution branch stats
	- fixed the connection drawing policy to use branch pin stats and fixed the crash from UE-31396
	- added hottest path and hottest endpoint wire heatmaps
	- switched off the graph filter by default
	- added total time for the heatmaps
	- fixed issue where initialising mapped functions caused an assert due to changes to the array/map in initialisation code

Change 2995058 on 2016/05/31 by Phillip.Kavan

	[UE-30718] Native/const implementable events will no longer cause a crash at runtime when the Blueprint profiler is running.

	change summary:
	- modified UObject::ProcessEvent() to bypass instrumentation for native event functions that are not implemented (overridden) in a BP class.
	- modified FScriptEventPlayback::Process() to first check for a standalone function match (UCS, implementable events declared as 'const') before settling on the ubergraph function for the target context.

Change 2995218 on 2016/05/31 by Phillip.Kavan

	[UE-30778] Restored non-K2 compact graph nodes (e.g. Material Editor) to previous size.

	change summary:
	- modified SGraphNode::GetNodeIndicatorOverlayVisibility() default impl to return 'Collapsed' by default, so it doesn't affect layout.

Change 2996417 on 2016/06/01 by Phillip.Kavan

	[UE-16073] Basic shape components (cube etc.) will now apply the correct override material to instances after being added through the component tree in the Blueprint editor.

	change summary:
	- modified the 'OnBasicShapeCreated' lambda in FComponentTypeRegistryData::AddBasicShapeComponents() to propagate the material override to all instances when the given component is an archetype (template) object.

Change 2997001 on 2016/06/01 by Ryan.Rauschkolb

	Fixed Double Clicking a component in the results of Find-In-Blueprints does not select the component
	#jira UE-30143

Change 2997521 on 2016/06/02 by Maciej.Mroz

	[Blueprint Nativization]
	- Added FilesToIncludeInModuleHeader config variable in BlueprintNativizationSettings. So some headers can be included in NativizedAssets.h
	- Guids of nodes are no longer recreated when Blueprint is duplicated for "C++ compilation". Previously child bp used variable names based on original parent class, but nativized parent class had guids recreated.

Change 2997522 on 2016/06/02 by Maciej.Mroz

	Native implementation of NOEXPORT FInterpCurvePoint structures. (It's necessary for Blueprint nativization)

Change 2997638 on 2016/06/02 by Maciej.Mroz

	Improvements for Blueprint Nativization:
	- Overridden names in nativized code have proper escape characters (in generated code).
	- OnlyDefaultConstructorDeclared metadata is replaced by ObjectInitializerConstructorDeclared
	- Arrays of nativized anum have the following form: TArray<Enum> (previously it was TArray<TEnumAsByte<Enum>>)
	- warning C4883 is disabled  in .generated.cpp files for nativized module

Change 2997639 on 2016/06/02 by Maciej.Mroz

	Minor improvements in Ocean gameplay code. Required for Blueprint Nativization.
	#jira UE-28945 Failure packaging Nativized Ocean

Change 2997656 on 2016/06/02 by Maciej.Mroz

	Various improvements in BlueprintCompilerCppBackend:
	- Fixed interface cast
	- Fixed TSwitchValue issue (when used with literals)
	- Fixed improper name for NativeBlueprintEvent (when calling parent's implementation)
	- Fixed bitfield getter code.
	- Reduce code size (less UsedAssets, less  ReferencedConvertedFields, cached UEnums)
	- operator == is generated for nativized structs
	- Fixed AssedId (AssetPtr) constructor in nativized code.
	- Fixed arrays of noexport struct
	- Fixed missing headers for native single cast delegate signature.
	- Fixed issue when default constructor (in native) is missing (constructor with FObjectInitialized, wont be used automatically). See "ObjectInitializerConstructorDeclared" metadata.

Change 2997691 on 2016/06/02 by Maciej.Mroz

	operator == in FText. It is required for some functions in TArray<FText>

Change 2997793 on 2016/06/02 by Ben.Cosh

	Added support for BaseAsyncTask nodes, fixed a problem with instance mapping and turned off the debug instance filter
	#Jira UE-30703 - Crash using blueprint profiler on AI pawn using nav mesh
	#Proj BlueprintProfiler, Kismet

Change 2997901 on 2016/06/02 by Maciej.Mroz

	Back out changelist 2997691

Change 2998038 on 2016/06/02 by Mike.Beach

	Merging //UE4/Dev-Main to Dev-Blueprints (//UE4/Dev-Blueprints)

Change 2998052 on 2016/06/02 by Ryan.Rauschkolb

	Fixed Comment bubbles not remembering changes after losing focus
	#jira UE-20012

Change 2998450 on 2016/06/02 by Phillip.Kavan

	[UE-31550] Fix crash on load of a Blueprint class containing a bitmask variable with missing enum type metadata.

	change summary:
	- modified FBlueprintEditorUtils::ValidateBlueprintVariableMetadata() to check for presence of bitmask enum type metadata on a variable before trying to validate it.

Change 2999763 on 2016/06/03 by Mike.Beach

	Guarding against a crash with an ensure - attempting to catch why this is happening by logging more info, as we're unable to repro it. Guarding against nodes which reference malformed (TRASH) classes.

	#jira UE-26761

Change 2999768 on 2016/06/03 by Maciej.Mroz

	#jira UE-31592, UE-31593

	This is just workaound. FReferenceFinder::FindReferences doesn;t find Enum variable in UByteProperty.

Change 2999770 on 2016/06/03 by Maciej.Mroz

	[Blueprint Nativization]
	Workaround for missing ==operator in native structures. The generated code uses special version of array funtions.

Change 2999798 on 2016/06/03 by Mike.Beach

	Guarding against malformed Blueprints  (ones without valid "authoratative" class) used as context for the node menu. Baffling how we'd get into this scenario, but this adds ensures to hopefully give us clues and stabalize the editor.

	#jira UE-31522

Change 2999941 on 2016/06/03 by Mike.Beach

	Correcting mistake in previously attempted fix (CL 2781229). Now using weak ptr IsValid checks to guard against destroyed nodes in deferred graph actions (TWeakObjectPtr::Get() does not check IsValid before returning).

	#jira UE-23371

Change 3001731 on 2016/06/06 by Phillip.Kavan

	[UE-30638] BP profiler will no longer crash at runtime while profiling events that call functions on an external target.

	change summary:
	- modified FBlueprintProfiler::ProcessEventProfilingData() to only remove 'Class' and 'Instance' signals on new events.
	- modified FScriptEventPlayback::NodeSignalHelper struct to include a new 'BlueprintContext' field.
	- modified FScriptEventPlayback::Process() to handle midstream context switches by updating the Blueprint/Function context on 'Class' and/or 'Instance' signals.
	- modified FScriptEventPlayback::Process() to cache and reference the current Blueprint context within the cached NodeSignalHelper while handling processed events.

Change 3002075 on 2016/06/06 by Maciej.Mroz

	Improved FScriptBuilderBase::EmitTermExpr in KismetCompilerVMBackend.
	Literal expression can be emitted without known desitination property.

	#jira UE-28443 Set Boolean (by ref) crashes the editor on compile

Change 3002096 on 2016/06/06 by Ben.Cosh

	This change expands the way that the blueprint profiler detects event nodes during mapping to include other non function graphs.
	#Jira UE-30716 - Blueprint Profiler crashes if function in another graph is called
	#Proj BlueprintProfiler

Change 3002108 on 2016/06/06 by Ben.Cosh

	Adds a new default option to average the blueprint level stats in the profiler.
	#Jira UE-31386 - BP Profiler - Timings reported with "Show Instances" off (in the tree view) are not averaged
	#Proj Kismet, BlueprintProfiler

	- The controls were also getting a bit messy so I tidied them all up into a re-usable toolbar for convenience going forward.

Change 3002782 on 2016/06/06 by samuel.proctor

	Test assets for Interface testing

Change 3003826 on 2016/06/07 by Ben.Cosh

	A few minor visual improvements for the blueprint profiler.
	#Proj Kismet, BlueprintProfiler, EditorStyle

	- Updated the actor icon to match the world outliner and added some functionality to draw attention to stale/deleted actors.
	- Updated the pure node icon.

Change 3004067 on 2016/06/07 by samuel.proctor

	New test asset for blueprint interfaces

Change 3004069 on 2016/06/07 by samuel.proctor

	Updating asset for Interface testing

Change 3004275 on 2016/06/07 by Ryan.Rauschkolb

	Fixed issue where Toggle Comment Bubble button for Reroute nodes would not rever tthe comment bubble to constant visibility
	#jira UE-23733

Change 3004329 on 2016/06/07 by Dan.Oconnor

	EdGraphPin is no longer a UObject, this will improve load times significantly on projects with large number of blueprints, but content does need to be resaved in order to see the improvement in load time. UObject counts are also greatly reduced.

Change 3004418 on 2016/06/07 by Maciej.Mroz

	KismetCompilerVMBackend:  Fixed issue, when a byte property has no enum specified (for examle parameter from EqualEqual_ByteByte) but the enum is needed to parse a literal value.

Change 3004496 on 2016/06/07 by Dan.Oconnor

	Disabling expensive pin allocation tracking

Change 3004649 on 2016/06/07 by Mike.Beach

	Preventing a new warning from being generated on trace point exceptions (trace point exceptions are used to hook into the debugger, and don't represent errors).

	#jira UE-31236

Change 3004667 on 2016/06/07 by Dan.Oconnor

	Removed my debugging logic

Change 3004848 on 2016/06/07 by Dan.Oconnor

	Fix spammy ensure

Change 3004871 on 2016/06/07 by Phillip.Kavan

	[UE-24950] No longer including components instanced as default subobjects of and attached to components instanced by construction script in the IWCE component tree view.

	change summary:
	- modified SSCSEditor::UpdateTree() to exclude child components instanced in native code as "nested" DSOs and parented to non-natively-constructed (e.g. Blueprint) components; these instances are no longer being shown in IWCE in order to avoid confusion, as they're not currently mutable at the instance level, will always be parented to something that is visible in the tree, and they're also not currently shown in the Blueprint editor's component tree view (because they're not stored in the CDO).
	- modified FSceneComponentData's ctor to exclude child components instanced in native code as nested DSOs from the AttachedInstancedComponents array; this allows child components instanced as nested DSOs to be disposed of along with the constructed parent instance when re-running construction scripts.

Change 3005203 on 2016/06/07 by Dan.Oconnor

	Fix for undo/redo/serialization issues with ed graph pin change. When serialization logic was applied incrementally our attempts to keep LinkedTo symetrical and aggressively clear destroyed nodes caused problems
	#jira UE-31750

Change 3005441 on 2016/06/08 by Maciej.Mroz

	#jira UE-31625 Crash in nativized Orion

	AssembleReferenceTokenStream is called for Dynamic Classes:
	- in ConstructDynamicType() (when class is explicitly loaded)
	- in __CustomDynamicClassInitialization() (when CDO is created)

Change 3005540 on 2016/06/08 by Ben.Cosh

	This adds the ability to track profiler instances between editor and PIE instances and displays the current status through the icon coloring.
	#Jira UE-30705 - Blueprint profiler stats lost if instance destroyed during PIE
	#Proj BlueprintProfiler, Kismet

	- The jira was already fixed but I think this change improves the instance status clarity

Change 3006196 on 2016/06/08 by Dan.Oconnor

	Copy/paste logic for pin connections got lost in the shuffle
	#jira UE-31747

Change 3006416 on 2016/06/08 by Phillip.Kavan

	[UE-31735] Fix potential loss of GetClassDefaults node output pin links on load (due to dependency load order).

	change summary:
	- modified UK2Node_GetClassDefaults::GetInputClass() to redirect to the generated skeleton class only if it's valid. this ensures that output pins will be reallocated during node reconstruction even if the dependent Blueprint's skeleton class has not yet been generated on load.

Change 3006522 on 2016/06/08 by Dan.Oconnor

	Under rare circumstances a deprecated pin comes in that is outered to the transient package
	#jira UE-31779

Change 3006576 on 2016/06/08 by Dan.Oconnor

	Fix for non-editor builds
	#jira UE-31796

Change 3006610 on 2016/06/08 by Phillip.Kavan

	[UE-31743] Fix data loss issue when loading a serialized non-native component class instance that's owned by an Actor-based Blueprint class instance.

	change summary:
	- modified FObjectInitializer::InitProperties() to disable fast path initialization for non-native class types when the default data does not equate to the non-native CDO (as is also done within the native path). this is necessary because the optimized property list that we generate at load time to support fast path initialization of Blueprint class instances is only applicable to the generated CDO.

Change 3006824 on 2016/06/08 by Dan.Oconnor

	More undo/redo fixes, this time fixes for when transaction buffer changes # of pins, thus destabalizing the LinkedTo arrays
	#jira UE-31794

Change 3006828 on 2016/06/08 by Dan.Oconnor

	Fix for non-editor builds

Change 3006857 on 2016/06/08 by Dan.Oconnor

	Investigating shutdown ensure, traced back to a static UEdGraphPin

Change 3006907 on 2016/06/08 by Dan.Oconnor

	Noneditor build fix

Change 3006929 on 2016/06/08 by Dan.Oconnor

	Deferring DeprecatedPins destruction until after UBlueprint has had a chance to fix up its watched pins, this is a better fix for #jira UE-31779

Change 3007133 on 2016/06/09 by Ben.Cosh

	Fix for issue in the profiler asserting creating pins that don't have unique names.
	#Jira UE-31752 - Crash compiling various Orion assets for blueprints profiling, ScriptExecNode.IsValid() failed
	#Proj BlueprintProfiler

	- I believe this was recently introduced with the changes to UEdGraphPin's

Change 3007964 on 2016/06/09 by Dan.Oconnor

	Fix for  PinHelpers::UnresolvedPins being left with stale entries by undo/redo
	#jira UE-31829

Change 3007996 on 2016/06/09 by Ryan.Rauschkolb

	Added 'empty' keyword to Array Clear Node.
	#jira UE-12356

Change 3008007 on 2016/06/09 by Ryan.Rauschkolb

	Added 'negate' keyword to boolean NOT node
	#jira UE-12490

Change 3008011 on 2016/06/09 by Ryan.Rauschkolb

	Added Vector2D * Vector2D multiplication node
	#jira UE-31503

Change 3008014 on 2016/06/09 by Ryan.Rauschkolb

	Fixed Cannot connect Make Array node output to MakeArray input with split pins
	#jira UE-28530

Change 3008243 on 2016/06/09 by Dan.Oconnor

	Fix for creation of FWeakGraphPinPtr from a pin that had been destroyed, client logic is still a bit broken in the case of the ClassDefaults node, but we're back to 'safe'
	#jira UE-31841

Change 3008289 on 2016/06/09 by Dan.Oconnor

	Editor transaction saves all state before applying undo/redo buffers when using 'bFlip' flow. This prevents messing with the object graph in the middle of saving state that will be restored later
	#jira UE-31794

Change 3008422 on 2016/06/09 by Dan.Oconnor

	Correct usage of GIsTransacting, replaced with Ar.IsTransacting() to correctly handle the case where we serialize after transacting but during the transaction (for instance, recompile blueprint in post undo, which we do quite a bit it turns out)
	#jira UE-31857

Change 3009164 on 2016/06/10 by Ryan.Rauschkolb

	Making changes to default values in the structure editor will now make changes to the structure without rebuilding the default values panel.
	#jira UE-21141,UE-23723

Change 3009165 on 2016/06/10 by Ryan.Rauschkolb

	Fixed Structure Default value editor collapses after undoing an alteration of a default value
	#jira UE-31741

Change 3009181 on 2016/06/10 by Ryan.Rauschkolb

	Fixed issue where modifying a default value in a Widget Blueprint would cause the Details Panel to refresh
	#jira UE-30014

Change 3009313 on 2016/06/10 by Mike.Beach

	Addressing issues with function return nodes in multiple ways:

	    - Preventing users from deleting return nodes for overriden/inherited functions.

	    - Also making sure that we create terminals for out params when the return node is disconnected (and pruned).

	    - Lastly, ensuring that new return nodes adhere to the function's signature (for cases, like where you copy/paste a return node from a different function).

	#jira UE-31418

Change 3009595 on 2016/06/10 by Dan.Oconnor

	EdGraphPinReference using PinId to resolve itself again, may create issues resolving pins created in compile
	#jira UE-31879

Change 3009774 on 2016/06/10 by Dan.Oconnor

	Fix for bad logic in RemovePin introduced in 3004329, just a bad reading of the logic, missed an early return
	#jira UE-31906

Change 3009988 on 2016/06/10 by Dan.Oconnor

	Prefer to use existing pins (based on PinId) when undoing/redoing pin serialization
	#jira UE-31888

Change 3010050 on 2016/06/10 by Dan.Oconnor

	Fixed missing call to ssuper class's PostEditUndo, fixed UBehaviorTreeGraph::PostEditUndo accessing Pins before they have been resolved
	#jira UE-31892

Change 3010071 on 2016/06/10 by Dan.Oconnor

	Fix for pasting when owning node has whitespace in result of GetPathName
	#jira UE-31898
	#coderview Bob.Tellez

Change 3010244 on 2016/06/11 by Dan.Oconnor

	Fix for trivial copy/paste error, causes crash when copying/pasting nodes with text default values, part of UE-31870

Change 3010630 on 2016/06/13 by Dan.Oconnor

	No longer relying on path name for pin resolution, path is unstable across graphs
	#jira UE-31870

Change 3010647 on 2016/06/13 by Dan.Oconnor

	PR #2496: Updated KismetMathLibrary comparison descriptions for FDateTime and FTimespan. (Contributed by CelPlays)

	#jira UE-31928

Change 3011175 on 2016/06/13 by Ben.Cosh

	Updates the Blueprint Profiler so that it can correctly map entry/exit from tunnels based on instance.
	#Jira UE-30106 - Compiling QA_PhysVelocitySettleTest with the blueprint profiler results in a crash/assert
	#Proj Kismet, BlueprintProfiler

	- Ensured that the trace paths contain the macro instance exec nodes
	- Selectively update stats in the tunnel exit site nodes based on valid exit sites to prevent cyclic updates.
	- Updated the comments in map tunnel entry to spare peoples sanity when trying to understand what that function does.

Change 3011271 on 2016/06/13 by Ben.Cosh

	This adds support for inherited blueprint classes to the blueprint profiler.
	#Jira UE-31833 - The Blueprint profiler asserts when using a FlipFlop macro.
	#Jira UE-31752 - Crash compiling various Orion assets for blueprints profiling, ScriptExecNode.IsValid() failed
	#Proj BlueprintProfiler

Change 3011556 on 2016/06/13 by Ryan.Rauschkolb

	Fixed Crash when breaking link to a split pin in MakeArray that is an array type
	#jira UE-31919

Change 3011624 on 2016/06/13 by Dan.Oconnor

	Fix for missing entries in MessageLog's source pin identification map. Bob T had originally populated this correctly, but somehow i lost it while iterating.
	#jira UE-31955

Change 3011984 on 2016/06/13 by Dan.Oconnor

	Sanitizing parentpin's subpins when destroying a pin
	#jira UE-21392

Change 3012894 on 2016/06/14 by Phillip.Kavan

	[UE-30922] Ensure that customized defaults are propagated to new instances at construction time during non-Actor-based Blueprint class reinstancing.

	change summary:
	- modified FBlueprintCompileReinstancer::ReplaceInstancesOfClass_Inner() to use the reinstanced archetype object as the template object during construction of the new instance for non-Actor-based Blueprint class types.

	#jira UE-30922

Change 3013037 on 2016/06/14 by Ryan.Rauschkolb

	Fixed Crash when connecting to a split pin in a MakeArray node that has no connections
	#jira UE-31917

Change 3014846 on 2016/06/15 by Dan.Oconnor

	No longer using FText::IsLetter to parse math expression nodes, that function is very slow. $x is now a valid math expression variable name (genereated a compile error prior to this change)
	#jira FORT-23753

Change 3015014 on 2016/06/15 by Dan.Oconnor

	Removing poorly implement IsLetter function

Change 3015142 on 2016/06/15 by Dan.Oconnor

	More intentional about removing subpins, prevents stale iterator on split pin collapse
	#jira UE-32072

Change 3016326 on 2016/06/16 by Ryan.Rauschkolb

	Fixed MakeArray node does not reset to wildcard when breaking links with split struct pins that have default values
	#jira UE-32016

Change 3016494 on 2016/06/16 by Ryan.Rauschkolb

	Fixed Crash when dragging a component into the Event Graph that's inherited from a C++ class
	#jira UE-31876

Change 3016557 on 2016/06/16 by Dan.Oconnor

	Explicit copy/move of string data for FText, removes some redundant copying and object construction/destruction [which could be optimzed away], saves 2-3 seconds in my 80s load asset benchmark
	#jira FORT-23753

Change 3016577 on 2016/06/16 by Ryan.Rauschkolb

	Fixed compiler warning for hidden member variable in FBlueprintVarActionDetails::GetVariableReplicationType

Change 3016906 on 2016/06/16 by Dan.Oconnor

	Back out changelist 3016557
	This will be done by Jamie.Dale in Dev-Editor

Change 3018081 on 2016/06/17 by Phillip.Kavan

	[UE-31832] PR #2486: Expose UInheritableComponentHandler::GetAllTemplates() outside of editor (Contributed by Bogustus)

	#jira UE-31832

Change 3018402 on 2016/06/17 by Dan.Oconnor

	Missing include

Change 3018426 on 2016/06/17 by Ryan.Rauschkolb

	Fixed MakeArray node with split pins and no connections does not paste correctly
	#jira UE-32148

Change 3018452 on 2016/06/17 by Mike.Beach

	Moving the patching of instanced sub-objects out of CPFUO (where you can't rely on the target to be a replacement for the source) to FBlueprintEditorUtils::PatchCDOSubobjectsIntoExport(), and making it so PatchCDOSubobjectsIntoExport() is called regularly for Blueprint regeneration (on load).

	#jira UE-32158

Change 3018456 on 2016/06/17 by Dan.Oconnor

	Fix for static analysis warning, this null check does nothing

Change 3018595 on 2016/06/17 by Mike.Beach

	Fix for shadowed variable warning in CIS.

Change 3018699 on 2016/06/17 by Mike.Beach

	Making MinimumAreaRectangle callable in Blueprints without world context (which is only needed for debug drawing).

Change 3019734 on 2016/06/20 by Phillip.Kavan

	[UE-32064] Clone associated component template(s) when duplicating Blueprint function graphs containing one or more Add Component nodes.

	change summary:
	- added a UK2Node_AddComponent::PostDuplicate() override
	- moved UK2Node_AddComponent::PostPasteNode() logic into a helper method that's now called from both PostDuplicate() and PostPasteNode() overrides.

	notes:
	- will prevent getting into the scenario described in UE-31831

	#jira UE-32064

Change 3020635 on 2016/06/20 by Dan.Oconnor

	Fix for bad cast in FCompilerResultsLog::Append, could cause crashes in clients of this function (math expressions nodes occasionally do when they fail to compile)

Change 3020894 on 2016/06/21 by Maciej.Mroz

	#2522: Interface UProperties can ExposeOnSpawn (in Blueprints) (Contributed by MichaelSchoell)

Change 3020958 on 2016/06/21 by Ben.Cosh

	This improves the way key events are detected in the blueprint profiler, preventing duplicate event entries when pressed and released are both wired. It also catches a bug with the compiler instrumentation flag when compiling.
	#Jira UE-32270 - Input key events generate extra instrumentation data per key press
	#Jira UE-32266 - Recompiling blueprints with instrumentation can fail to add instrumentation.
	#Proj BlueprintProfiler, UnrealEd

Change 3021316 on 2016/06/21 by Ryan.Rauschkolb

	Fixed issue where Copy/Paste of event nodes would not retain link information

Change 3021826 on 2016/06/21 by Phillip.Kavan

	[UE-31831] Fix up AddComponent nodes on load if they are not associated with a unique template object.

	change summary:
	- added external linkage to UK2Node_AddComponent::MakeNewComponentTemplate(), and switched it to be a public API
	- modified FBlueprintEditorUtils::UpdateComponentTemplates() (as this is already called on Blueprint load) to detect/warn and correct non-unique templates

	#jira UE-31831

Change 3022047 on 2016/06/21 by Ryan.Rauschkolb

	Fixed issue where copy/paste of return nodes would not preserve value or link data
	#jira UE-26937

Change 3022619 on 2016/06/22 by Maciej.Mroz

	#jira UE-30858 Nativized Orion - Some particle effects are not rendering

	A static/persistent information (the mechanism is similar to AssetRegistrySearchable) about DynamicClass is added.
	It's necessary since DynamicClasses are not handled as regular assets by AssetRegistry.
	Fixed GameplayCueManager. Nativized cues can be found.

	This is an early version of the feature. Amount of stored persistent data can be extended (but it would increase memory-usage).

Change 3022654 on 2016/06/22 by Maciej.Mroz

	FBackendHelperStaticSearchableValues -fixed  too strict ensure

Change 3023067 on 2016/06/22 by Maciej.Mroz

	#jira UE-32083 Nativize Blueprints removes blueprint functionality in packaged project

	Config settings from super class are not applied (at runtime) to nativized Blueprints . So all "config" properties are filled in constructor.

Change 3023222 on 2016/06/22 by Ryan.Rauschkolb

	Fixed MakeArray node elements break when editing struct elements
	#jira UE-21392

Change 3023405 on 2016/06/22 by Mike.Beach

	Making sure sub-objects get instanced for Blueprint CDOs that had their FObjectInitializer deferred (happens when the super CDO hasn't been fully serialized). By the time the deferred FObjectInitializer is ran, the sub-objects have been assigned a RF_NeedLoad flag (where they normally wouldn't have one right after construction, when the initialization is usually ran).

	#jira UE-31897

Change 3023992 on 2016/06/22 by Mike.Beach

	Fixed an issue where hovering on/off a reroute node (toggling the comment bubble visibility) would create extraneous undo transactions.

	#jira UE-31859

[CL 3025946 by Mike Beach in Main branch]
2016-06-23 19:35:24 -04:00
Mike Beach
dc0798f872 Copying //UE4/Dev-Blueprints to Dev-Main (//UE4/Dev-Main)
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 2910968 on 2016/03/15 by Dan.Oconnor

	PR #2152: Fix for UE-27652 (Contributed by SNikon)

	#jira UE-28368, UE-27652

Change 2911052 on 2016/03/15 by Dan.Oconnor

	Moving Pin tooltip generating into GetPinHoverText to correct some issues with hovertext being stale. Motivation was PR #2095: Keep ResultPin Tooltip up to date on SpawnActor and CreateObject Nodes (Contributed by mollstam)
	#jira UE-27345

Change 2912261 on 2016/03/16 by Maciej.Mroz

	Fixed DynamicClass loading.

	#codereview Robert.Manuszewski

Change 2912719 on 2016/03/17 by Phillip.Kavan

	[UE-28450] Cooked component template data now properly handles array property values having one or more items that differ from the default object.

	change summary:
	- modified FBlueprintEditorUtils::BuildComponentInstancingData() to generate additional data for individual array property values that differ from the component's class default object at cook time.
	- modified FBlueprintCookedComponentInstancingData::BuildCachedPropertyList() to parse cooked array property data at load time and generate a SubPropertyList representing the set of changed array property values.
	- modified UArrayProperty::SerializeItem() to handle an explicit custom property list when specified as part of the FArchive.
	- modified AActor::CreateComponentFromTemplateData() to set the 'PPF_Duplicate' PortFlag in order to emulate expected behavior that would otherwise occur when SDO is used for component instancing.
	- modified UActorComponent::Serialize() to not set 'bHasBeenCreated' on load for component template objects.

Change 2912749 on 2016/03/17 by Phillip.Kavan

	[UE-28450] CIS fix

Change 2912811 on 2016/03/17 by Phillip.Kavan

	[UEBP-112] Fix for a minor issue w/ branch nodes not including pure node chains in profiler tree view. Also reversed order of pure node chain display in tree view.

	#codereview Ben.Cosh

Change 2912890 on 2016/03/17 by Maciej.Mroz

	Blueprint C++ Conversion:
	- Constructor handles private (inaccessible) member variables.
	- no ensure failed when a component was removed in a static actor instance.

Change 2913115 on 2016/03/17 by Phillip.Kavan

	[UEBP-112] Fix for a potential profiler crash when processing a pure node event with a script code offset that also maps to an impure exec node in a different function context.

	(forgot to include this in the previous CL)

	#codereview Ben.Cosh

Change 2913266 on 2016/03/17 by Maciej.Mroz

	Blueprint C++ Conversion:
	- fixed super:: call for BP native event.

Change 2913313 on 2016/03/17 by Phillip.Kavan

	[UEBP-112] Fix reversed trace paths on pure nodes which caused missing pure timing data.

	(introduced in CL# 2912811)

	#codereview Ben.Cosh

Change 2915001 on 2016/03/18 by Maciej.Mroz

	Blueprint C++ Conversion: Fixed color construction

Change 2915306 on 2016/03/18 by Phillip.Kavan

	Fix /initProperties() optimization when PostLoad() changes a CDO property value away from the default value.

Change 2916140 on 2016/03/20 by Phillip.Kavan

	Improved array property handling for both InitProperties() and cooked component data optimizations.

	Note: This should allow for proper runtime handling of array properties with an Inner that is potentially also an array property.

	change summary:
	- added FObjectInitializer::InitArrayPropertyFromCustomList() to assist with initializing instances from array properties with an explicit sub-property list.
	- added FBlueprintCookedComponentInstancingData::BuildCachedArrayPropertyList() to assist with recursively building a sub-property list for array deltas.
	- added FBlueprintGeneratedClass::BuildCustomArrayPropertyListForPostConstruction() to assist with recursively building a sub-property list for array deltas.

Change 2916640 on 2016/03/21 by Ben.Cosh

	Support for tunnelling graphs in the blueprint profiler
	#UEBP-183 - Tunneling graph support
	#Proj Kismet, BlueprintProfiler

	- This removes the need to filter stat updates to prevent cyclic references ( now tunnel nodes are better described in terms of i/o pins )
	- Moves to the more complete function based mapping of graphs.
	- Precursor to final macro code

	codereview Phillip.Kavan

Change 2916902 on 2016/03/21 by Michael.Schoell

	The graph panel will now properly fade in splines when highlighting them.

	Added dynamic tick registering that will invalidate the graph panel, allowing it to update the current display per tick until the action is complete.

Change 2917087 on 2016/03/21 by Ben.Cosh

	CIS mac fix

Change 2917433 on 2016/03/21 by Dan.Oconnor

	PR #2163: Fix Bug for "IsDataOnlyBlueprint" Error (Contributed by cdsama)

	#jira UE-28534

Change 2917499 on 2016/03/21 by Mike.Beach

	Correcting an expectation that custom collision mappings were ordered (by collision channel). Now sorting the list before we translate them into trace types.

	#codereview Ori.Cohen, Lina.Halper, Zak.Middleton
	#rb Ori.Cohen, Zak.Middleton

Change 2919538 on 2016/03/23 by Maciej.Mroz

[CL 2937623 by Mike Beach in Main branch]
2016-04-07 21:18:08 -04:00
Mike Beach
73c6bbc883 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
Matthew Griffin
bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00
Mike Beach
134cb04d27 Copying //UE4/Dev-Blueprints to Dev-Main (//UE4/Dev-Main) @ 2781164
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 2716841 on 2015/10/05 by Mike.Beach

	(WIP) Cleaning up how we setup script assets for replacement on cook (aligning more with the Blueprint conversion tool).

	#codereview Maciej.Mroz

Change 2719089 on 2015/10/07 by Maciej.Mroz

	ToValidCPPIdentifierChars handles propertly '?' char.

	#codereview Dan.Oconnor

Change 2719361 on 2015/10/07 by Maciej.Mroz

	Generated native code for AnimBPGC - some preliminary changes.

	Refactor: UAnimBlueprintGeneratedClass is not accessed directly in runtime. It is accessed via UAnimClassInterface interface.
	Properties USkeletalMeshComponent::AnimBlueprintGeneratedClass and UInterpTrackFloatAnimBPParam::AnimBlueprintClass were changed into "TSubclassOf<UAnimInstance> AnimClass"

	The UDynamicClass also can deliver the IAnimClassInterface interface. See UAnimClassData, IAnimClassInterface::GetFromClass and UDynamicClass::AnimClassImplementation.

	#codereview Lina.Halper, Thomas.Sarkanen

Change 2719383 on 2015/10/07 by Maciej.Mroz

	Debug-only code removed

Change 2720528 on 2015/10/07 by Dan.Oconnor

	Fix for determinsitc cooking of async tasks and load asset nodes
	#codereview Mike.Beach, Maciej.Mroz

Change 2721273 on 2015/10/08 by Maciej.Mroz

	Blueprint Compiler Cpp Backend
	- Anim Blueprints can be converted
	- Various fixes/improvements

Change 2721310 on 2015/10/08 by Maciej.Mroz

	refactor (cl#2719361) - no "auto" keyword

Change 2721727 on 2015/10/08 by Mike.Beach

	(WIP) Setup the cook commandlet so it handles converted assets, replacing them with generated classes.

	    - Refactored the conversion manifest (using a map over an array)
	    - Centralized destination paths into a helper struct (for the manifest)
	    - Generating an Editor module that automatically hooks into the cook process when enabled
	    - Loading and applying native replacments for the cook

Change 2723276 on 2015/10/09 by Michael.Schoell

	Blueprints duplicated for PIE will no longer register as dependencies to other Blueprint.

	#jira UE-16695 - Editor freezes then crashes while attempting to save during PIE
	#jira UE-21614 - [CrashReport] Crash while saving during PIE - FKismetEditorUtilities::CompileBlueprint() kismet2.cpp:736

Change 2724345 on 2015/10/11 by Ben.Cosh

	Blueprint profiler at first pass, this includes the ability to instrument specific blueprints with realtime editor stat display.
	#UEBP-21 - Profiling data capture and storage
	#UEBP-13 - Performance capture landing page
	#Branch UE4
	#Proj BlueprintProfiler, BlueprintGraph, EditorStyle, Kismet, UnrealEd, CoreUObject, Engine

Change 2724613 on 2015/10/12 by Ben.Cosh

	Incremental update for blueprint profiler to fix the way some of the reported stats cascade through events and branches and additionally some missed bits of code are refactored/removed.
	#Branch UE4
	#Proj BlueprintProfiler

	#info Whilst looking into this I spotted the reason why the stats seem so erratic, There appears to be an issue with FText's use of EXPERIMENTAL_TEXT_FAST_DECIMAL_FORMAT which I have reported, but ideally disable this locally until a fix is integrated.

Change 2724723 on 2015/10/12 by Maciej.Mroz

	Constructor of a dynamic class creates CDO.

	#codereview Robert.Manuszewski

Change 2725108 on 2015/10/12 by Mike.Beach

	[UE-21891] Minor fix to the array shuffle() function; now processes the last entry like all the others.

Change 2726358 on 2015/10/13 by Maciej.Mroz

	UDataTable is properly saved even if its RowStruct is null.

	https://udn.unrealengine.com/questions/264064/crash-using-hotreload-in-custom-datatable-cdo-clas.html

Change 2727395 on 2015/10/13 by Mike.Beach

	(WIP) Second pass on the Blueprint conversion pipeline; setting it up for more optimal (speedier) performance.
	    * Using stubs for replacements (rather than loading dynamic replacement).
	    * Giving the cook commandlet more control (so a conversion could be ran directly).
	    * Now logging replacements by old object path (to account for UPackage replacement queries).
	    * Fix for [UE-21947], unshelved from CL 2724944 (by Maciej.Mroz).

	#codereview Maciej.Mroz

Change 2727484 on 2015/10/13 by Mike.Beach

	[UE-22008] Fixing up comment/tooltip typo for UActorComponent::bAutoActivate.

Change 2727527 on 2015/10/13 by Mike.Beach

	Downgrading an inactionable EdGraph warning, while adding more info so we could possibly determine what's happening.

Change 2727702 on 2015/10/13 by Dan.Oconnor

	Fix for crash in UDelegateProperty::GetCPPType when called on a function with no OwnerClass (events)

Change 2727968 on 2015/10/14 by Maciej.Mroz

	Since ConstructorHelpers::FClassFinder is usually static, the loaded class should be in root set, to prevent the pointer stored in  ConstructorHelpers::FClassFinder from being obsolete.
	FindOrLoadClass behaves now like FindOrLoadObject.

	#codereview Robert.Manuszewski, Nick.Whiting

Change 2728139 on 2015/10/14 by Phillip.Kavan
2015-11-25 18:47:20 -05:00
Andrew Grant
48b2d10189 Copying from //UE4/Orion-Staging (originated from //Orion/Main @ CL-2766367)
#lockdown Nick.Penwarden

[CL 2770161 by Andrew Grant in Main branch]
2015-11-17 14:50:21 -05:00
Michael Schoell
ec5aaa577c Functions correctly inherit purity in Blueprints and will update to reflect the current purity state of the inherited function.
Made accessors to get the Function Entry's flags for the generated UFunction and for retrieval of the final skeleton class's UFunction's flags.

#jira UE-17804 - Overridden functions in Child Blueprints cannot be converted to/from pure functions

[CL 2635959 by Michael Schoell in Main branch]
2015-07-28 16:17:47 -04:00
Maciej Mroz
84560eff1a UK2Node_FunctionEntry::GetTooltipText was added.
https://udn.unrealengine.com/questions/249835/k2node-functionentry-result-tooltips.html

[CL 2590121 by Maciej Mroz in Main branch]
2015-06-17 10:48:10 -04:00
Maciej Mroz
c8c81cabed UE-16513 [CrashReport] Adding a Return node to a function that contains a Local array variable then compiling will crash the engine
#codereview Michael.Schoell

[CL 2580032 by Maciej Mroz in Main branch]
2015-06-08 11:32:20 -04:00
Maciej Mroz
1d39b9b457 UE-16019 Calling functions that have an implicit WorldContextObject parameter in a Blueprint function library will give a compile error about a missing __WorldContext pin
There is always WorldContext in bp static functions.

#codereview Nick.Whiting, Mike.Beach

[CL 2562999 by Maciej Mroz in Main branch]
2015-05-22 14:08:54 -04:00
Maciej Mroz
d80b9cc20e - Proper handling for const ref user defined pin
- VER_UE4_SERIALIZE_PINTYPE_CONST
- Refactor: UEdGraphNode::CreatePin

#codereview Mike.Beach, Nick.Whiting

[CL 2536849 by Maciej Mroz in Main branch]
2015-05-04 22:49:49 -04:00
Michael Schoell
5f3f433198 Can drag and drop pins onto a variety of K2Node_EditablePinBase nodes to add pins to them.
Shifted a lot of pin adding functionality from Blueprint Details customizion to the nodes themselves or BlueprintEditorUtils.

#jira UE-11334 - Dragging a pin to a node that can add pins (function entry/exit, custom events...) should add a pin of the type to the node.

[CL 2497224 by Michael Schoell in Main branch]
2015-03-31 10:32:10 -04:00
Jaroslaw Palczynski
adecd4aaad UHT: Allows defining multiple UCLASSes in one header file.
[CL 2412156 by Jaroslaw Palczynski in Main branch]
2015-01-20 09:33:54 -05:00
Michael Schoell
287ff7cd0a Fixing some bugs with MakeArray caused by recent changes and issues with local variable defaults being an array.
[CL 2383812 by Michael Schoell in Main branch]
2014-12-10 12:38:55 -05:00
Michael Schoell
0e318b55ba Can set default values on local function variables.
Details view supports displaying UProperties from external UStruct's that are not a property of a UObject.

#jira UE-2246 - BP: Local function variables need to support default values

[CL 2383580 by Michael Schoell in Main branch]
2014-12-10 10:57:36 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Phillip Kavan
ead8c218f1 [UE-2345] BP - enforce const-correctness in native const class method overrides
this change introduces enforcement of 'const-correctness' into implemented function graphs.

summary:
if you have a function declared in C++ like this:
UFUNCTION(BlueprintImplementableEvent)
int32 MyFunctionThatReturnsSomeValue() const;
if you implement that (BPIE) function in a Blueprint that's parented to that native class, it will now be flagged as 'const'. this makes any properties of 'self' read-only within the context of that graph, which means the compiler will emit an error if you try to set a property or otherwise call a non-const, non-static function with 'self' as the target.
if there happens to already be an implemented const function in a Blueprint that was in place prior to this change, the compiler will emit a warning instead of an error, in order to allow existing Blueprints that may currently be "violating" const within the context of a const BPIE function to still compile, while still alerting to issues that should probably be addressed.
notes:
1) this also applies to BlueprintNativeEvent (BPNE) implementations, and also when implementing BPIE/BPNE interface methods that are also declared as const
2) a const BPIE/BPNE function with no return value and no output parameters will be implemented as a "normal" impure function, and not as an event as in the non-const case
3) a const BPIE/BPNE function with a return value and/or output parameters will currently be implemented as a pure function, regardless of whether or not BlueprintCallable is specified
4) this CL also retains some consolidation of static function validation code that i had previously done, mostly to allow static functions to more easily be whitelisted for const function graphs
#codereview Nick.Whiting, Michael.Noland

[CL 2368059 by Phillip Kavan in Main branch]
2014-11-21 17:47:17 -05:00