2019-12-26 15:33:43 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2014-11-14 18:23:41 -05:00
|
|
|
|
|
|
|
|
#include "SoundCueGraphConnectionDrawingPolicy.h"
|
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
|
|
|
#include "Misc/App.h"
|
|
|
|
|
#include "SoundCueGraph/SoundCueGraph.h"
|
|
|
|
|
#include "SoundCueGraph/SoundCueGraphNode.h"
|
|
|
|
|
#include "SoundCueGraph/SoundCueGraphNode_Root.h"
|
|
|
|
|
#include "SoundCueGraph/SoundCueGraphSchema.h"
|
|
|
|
|
#include "Components/AudioComponent.h"
|
|
|
|
|
#include "Editor.h"
|
|
|
|
|
#include "AudioDevice.h"
|
|
|
|
|
#include "ActiveSound.h"
|
2014-11-14 18:23:41 -05:00
|
|
|
#include "Sound/SoundNode.h"
|
|
|
|
|
#include "Sound/SoundCue.h"
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3198622)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3182087 on 2016/11/01 by Lina.Halper
PR #2328: fix morph target weight application order. (Contributed by tmiv)
- changed order of morphtarget application to be animation and THEN SetMorphTarget
- made sure you could clear the weight also if SetMorphTarget to be 0.f
#jira: UE-29999
Change 3182090 on 2016/11/01 by Lina.Halper
Fix issue where import doesn't display any message when import type hasn't been detected
Change 3182123 on 2016/11/01 by Wes.Hunt
ensure the EngineAnalytics singleton is not being held onto by someone else during engine shutdown.
Change 3182177 on 2016/11/01 by Lina.Halper
Fix not being able to modify Joint Target Location in detail panel
#jira: UE-30900
Change 3182181 on 2016/11/01 by Ben.Zeigler
Add UGameplayTagsManager::AddNativeGameplayTag to allow registering tags directly from native code. This stops them from being deleteable in the editor, and will register them even if they don't exist elsewhere
Change internal games to use this to register their native tags. The explicit call to be done adding native tags is not required, it happens on engine post init
Some header cleanup
Change 3182876 on 2016/11/02 by Danny.Bouimad
Moving files
Change 3182912 on 2016/11/02 by Thomas.Sarkanen
Added access to the viewport client from IPersonaViewport
Allows systems to hook into the state of the client.
#jira UE-36549 - Need to access the current viewmode in FPersonaMeshDetails
Change 3182927 on 2016/11/02 by Thomas.Sarkanen
Initially select current asset in the asset family shortcut bar dropdown
#jira UE-35532 - Animation dropdown submenu doesn't highlight currently selected object, where as the asset browser does
Change 3182970 on 2016/11/02 by Lukasz.Furman
CIS fix for gameplay debugger
copy of CL# 3165005
Change 3183123 on 2016/11/02 by Mieszko.Zielinski
Fixed changing AreaClass of NavLinkProxy point links not having any effect on navmesh generation #UE4
Change 3183310 on 2016/11/02 by Jurre.deBaare
Blendspace changes:
- Moved MarkerSync code from BlendSpaceBase.cpp to BlendSpaceUtilities.h/cpp
- Re-ordered blendspace.h/cpp
- const correctness where possible
- Removed unused code paths
- Wrapped non-runtime code paths in WITH_EDITOR
Blendspace editor refactor:
- Moved element generators into respective AnimationBlendSpaceHelpers.h/cpp
- New Grid Widget class
- Simplified Blendspace(1D) editors, most things are handled within SAnimationBlendSpaceBase
- SBlendSpaceGridWidget handles visualization and UI interaction (modifying blendspace is done through parent SAnimationBlendSpaceBase)
Change 3183344 on 2016/11/02 by James.Golding
UEFW-181 : Move PhysX vehicle support to a plugin
- Added FPhysicsDelegates for several useful global physics delegates (OnUpdatePhysXMaterial, OnPhysicsAssetChanged, OnPhysSceneInit, OnPhysSceneTerm)
- Added OnPhysScenePreTick and OnPhysSceneStep delegates to FPhysScene
- TireType is now deprecated, just kept in Engine for backwards compat. TireConfig in PhysXVehicles plugin is new structure
- Added 'ConvertTireTypes' editor console util which creates TireConfig's from TireTypes's (using asset registry) and PhysicalMaterials, and updates any VehicleWheel BPs
Change 3183351 on 2016/11/02 by Ben.Zeigler
Add utility functions to convert from export text versions of tag and container, which is useful when reading tags out of the asset registry
Change 3183354 on 2016/11/02 by Ben.Zeigler
Change fortnite to use new GameplayTag functions to parse tags in the asset registry to avoid bad stall while checking mission requirements. This only works once the mission infos have been resaved
Change 3183383 on 2016/11/02 by Thomas.Sarkanen
Persona camera fixes
Dont reset the camera all the time when setting skeletal meshes (we only do this the first time now).
Add shortcuts to focus the camera using 'F' key from the skeleton tree (or anywhere else that wants to). Also add a menu option to the viewport to make this more discoverable.
Shortcut is now handles by the viewport widget instead of the client (as this is how other viewports handle it).
#jira UE-36458 - Stop camera from resetting when doing undo or redo in persona animation editor
Change 3183409 on 2016/11/02 by Jon.Nabozny
#rn Allow MAX_ARRAY_SIZE and MAX_ARRAY_MEMORY from RepLayout to be user configurable.
#jira UE-35660
Change 3183625 on 2016/11/02 by James.Golding
Hopeful fix for Mac CIS issue in PhysXVehiclesEditor
Change 3183652 on 2016/11/02 by Ben.Zeigler
Fix issue where commonly replicated tags didn't work if load from ini was turned off.
Fix it so gameplay tag tree is always fully sorted alphabetically, instead of only the root tags being sorted.
Change 3183856 on 2016/11/02 by Richard.Hinckley
#jira UEDOC-4006
Editing GameMode and GameState documentation (in Framework branch).
Change 3183902 on 2016/11/02 by Mieszko.Zielinski
Fixed EQS debug drawing not showing item labels #UE4
Proper implementation of CL#3183899
#jira UE-38122
Change 3183996 on 2016/11/02 by Jon.Nabozny
Fix DefaultMaxRepArrayMemory value to be UINT16_MAX (65535). Was previously set to 64 * 1024 = 65536.
Change 3184129 on 2016/11/02 by Ben.Zeigler
#jira UE-38022 Move GameplayAbilities to a plugin.
Remove GameplayAbilitiesEditorEnabled ini setting, instead enable the "GameplayAbilities" plugin in your uproject if you want abilities, it's disabled by default
#jira UE-6947 Remove GameplayAbilityBlueprintGeneratedClass as it's not needed and was only being used half the time
#jira UE-19427 Fix incorrect usage of WorldContextObject in ability tasks to instead be OwningAbility, as it would crash if used on anything other than a gameplay ability object
Change 3184130 on 2016/11/02 by Ben.Zeigler
Internal game fixups for moving gameplayabilities to a plugin
Change 3184469 on 2016/11/02 by Ben.Zeigler
Change abilities plugin to be more obviously unsupported
Change 3184565 on 2016/11/02 by dan.reynolds
AEOverview update with HRTF test map
Change 3184800 on 2016/11/03 by Thomas.Sarkanen
Added "Show Selected and Parents" to bone display options
Also fixed mis-named menu section.
#jira UE-35375 - Add 'selected bone and parents' option to Persona viewport
Change 3184810 on 2016/11/03 by James.Golding
Remove WoflPlat PhysX 3.3 and Apex 1.3 files
Change 3184817 on 2016/11/03 by Thomas.Sarkanen
Added facial animation support
Added curve table to sound wave (internal or external). Added UI support for manipulating these.
Improved curve table editor.
- Editor can now display curves as well as tables.
- Sparse keys are now properly supported (where keys are not presnet at some times in some curves).
Added curve source interface.
Added external curve node. This allows any component or actor (BP or native) that implements ICurveSourceInterface to drive curves.
Added new audio component that can also provide curves. This handles the preroll delay (approx 0.4 seconds, depending on audio) so the mouth can open before audio is played.
Added bulk importer plugin.
This imports audio & FBX files and builds cuirve data into SoundWave assets.
- Adapted exisitng FBX curve import slightly to use FRichCurves rather than FFloatCurves.
- Added new support for importing curves to a curve table.
Added preview of audio to Persona.
- Added display, filtering and playback of sound waves from the anim sequence browser.
- Audio playback with curves routed to animation now works with anim blueprints and pose assets (as we need a pose asset to preview poses!)
- Persona now uses an Actor rather than disparate components.
- Added overrides for AddComponent and RemoveComponent to make sure actor is hooked up correctly.
- Preview scene can now be manipulated by plugins etc. using a delegate when it is created.
- Single anim instance has been slightly re-worked to do its update and evaluate logic inside of a local anim node. This allows derived classes to build functionality up component-wise by adding new nodes to the 'graph'.
#jira UEFW-7 - Routing Sound Curves to AnimBP
#jira UEFW-5 - Support importing curves
#jira UE-37950 - Spawn preview actor in animation editor
Change 3184837 on 2016/11/03 by James.Golding
PR #2896: Fix FVehicleAnimInstanceProxy::PreUpdate not calling FFAnimInstanceProxy's PreUpdate (Contributed by DenizPiri)
#jira UE-37978
Change 3184847 on 2016/11/03 by Thomas.Sarkanen
Fixed editor shutdown crash
Dont try to save config when UObjects are all gone.
Change 3184853 on 2016/11/03 by James.Golding
Stop Engine module linking against PhysX vehicle lib, link that into PhysXVehicles plugin instead.
Change 3184884 on 2016/11/03 by Thomas.Sarkanen
Anim Blueprint thread safety is now checked in the compiler
Added new metadata keys for classes and functions to describe their thread safety.
Added extra warnings in the anim BP compiler based around these new keys to help people catch suspect thread usage.
Expanded the compiler erorr reporting to allow for extra rich message tokens to be appended (for documentation etc.).
Improved BP error reporting: Now we display the actual node name instead of CallFunction_0 etc.
CVar forcing multithreaded update is now defaulted to off. Projects now by default enable it but can more easily opt-out.
#doc Added link to new section of AnimGraph page, which may benefit from images etc.
#jira UE-28283 - Look into expanding the system to determine what nodes we allow to run on worker threads.
Change 3184886 on 2016/11/03 by Thomas.Sarkanen
Content fixes for anim BP thread safety warnings
Ocean:
Random Float node is unsafe (uses rand() unde rthe hood) so replaced with Random Stream.
Odin:
Flying Bot accessed the character blueprint inside some transitions. Cached the value in the event graph instead.
Fortnite:
Disable threaded update for a number of anim BPs as they were using unsafe calls when using CopyPoseFromMesh
Change 3184894 on 2016/11/03 by Thomas.Sarkanen
Fix Mac CIS
Change 3184951 on 2016/11/03 by Thomas.Sarkanen
Fix CIS warning on clang platforms
Change 3185176 on 2016/11/03 by James.Golding
Hopeful fix for building PhysXVehicles plugin for mac
Change 3185289 on 2016/11/03 by Alex.Delesky
#jira UE-37773 - Updating the Gameplay Tags UI to allow for the following:
-Addition of a tag with comments and a specific INI location
-An "Add Subtag" button that will allow the user to create a tag underneath a specified parent that autofills most of the information (parent name and location) for the new tag
-A dropdown menu to allow for additional actions to be performed on a tag (rename, delete, search for references)
-Comments for gameplay tags now show up in the tooltip forthe tag rather than the tag name if one had been specified
-Shows a tree in the Project Settings window when viewing the gameplay tag list instead of an array
Change 3185331 on 2016/11/03 by Marc.Audy
Remove duplicated condition from if
Change 3185426 on 2016/11/03 by James.Golding
Another attempt at fixing mac builds of PhysXVehicles plugin
Change 3185487 on 2016/11/03 by James.Golding
- Remove TireType assets from templates/sample, add TireConfigs instead
- Make deprecated vehicle vars visible (but not editable), to help converting content
- Change icon for PhysX vehicle plugin
Change 3185520 on 2016/11/03 by James.Golding
Trying yet again to fix Mac CIS!
Change 3185542 on 2016/11/03 by Ben.Zeigler
#jira UE-34086
Commit modified version of PR #2665 to allow overriding crouch behavior in subclasses of CharacterMovementComponent
#jira UE-35652
Fix crouch behavior to not change capsule until after uncroach check, to avoid causing unnecessary physics side effects
Also had to set the TeleportPhysics flag in this case, so add code to remember if a teleport was attempted during a deferred movement, and then apply that flag during EndScopedMovementUpdate
Change 3185570 on 2016/11/03 by Marc.Audy
Protect against theoretical crash introduced in CL# 2049861 if CreatePackage returns null.
Remove some autos
Change 3185749 on 2016/11/03 by dan.reynolds
AEOverview test map addition: testing Virtual Voice
Change 3185946 on 2016/11/03 by dan.reynolds
AEOverview tweaks - clarified success conditions for Streaming Spam and Streaming Priority maps
Change 3185972 on 2016/11/03 by Lina.Halper
Fix issue with offset of attachment getting messed up because parent doesn't tick the animation correctly when opening level from Content Browser
#jira: UE-31890
#code review: Thomas.Sarkanen
Change 3186043 on 2016/11/03 by Alex.Delesky
#jira UE-37773 - Fixing some of the gameplay tags UI based on feedback
-Right-aligned input fields for the AddNewGameplayTag and RenameGameplayTag widgets
-Added a divider to the GameplayTag widget that will appear when the AddNewGameplayTag widget is visible
-Tags with comments will now display both their name and their comment in tooltips
Change 3186207 on 2016/11/03 by Alex.Delesky
#jira UE-37773 - The Gameplay Tags widget in the project browser will no longer display the disabled checkboxes and disabled text for the tag names
Change 3186321 on 2016/11/03 by Dan.Reynolds
Removed deprecated test asset (BP_ProceduralSoundWaveTest)
Change 3186740 on 2016/11/04 by Thomas.Sarkanen
Removed FPersona and supporting classes
Also removed UMorphTarget's asset type actions (as it was nearly empty and we dont use them as assets any more).
#jira UEFW-222 - Remove FPersona
Change 3186741 on 2016/11/04 by Thomas.Sarkanen
Fix non-unity builds
Change 3186755 on 2016/11/04 by Thomas.Sarkanen
Prevent adding keys to read-only curves in curve tables
Lock off the shift-LMB shortcut to add keys
#jira UE-38210 - Crash trying to add a key to a curve table in curve view
Change 3186798 on 2016/11/04 by James.Golding
UE-37503 - Add FHitResult output to K2_LineTraceComponent
Change 3186800 on 2016/11/04 by James.Golding
- Remove deprecated collision functions in KismetSystemLibrary
- Remove _NEW from collision function names, add redirectors
- Add debug draw options (TraceColor, TraceHitColor, DrawTime) to shape traces, to match line traces (UE-35941)
Change 3186989 on 2016/11/04 by James.Golding
Fix CIS fail in Fortnte
Change 3187081 on 2016/11/04 by Wes.Hunt
EngineAnalytics::Shutdown now checks to see if the Analytics pointer is null OR unique before ensuring. #jira UE-38125
Change 3187135 on 2016/11/04 by Jurre.deBaare
Fix for incorrect framework version in blendspace serialization code.
Change 3187682 on 2016/11/04 by Ben.Zeigler
#jira UE-38289 Fix crash when replicated tag array is empty
Change 3188113 on 2016/11/05 by Mieszko.Zielinski
Removed a bunch of deprecated AI module functions #UE4
Cut-off point at v4.10
Change 3188119 on 2016/11/05 by Mieszko.Zielinski
Deprecated AI functionality removal fallout fixes #UE4
Change 3188121 on 2016/11/05 by Mieszko.Zielinski
PR #2883: Added a Cone EQS Generator (Contributed by orfeasel)
Did some massaging on change.
#jira UE-37685
Change 3188122 on 2016/11/05 by Mieszko.Zielinski
Bumped EnvQueryGenerator_Cone.AlignedPointsDistance's default value up to 100, which makes a bit more sense #UE4
Change 3188442 on 2016/11/07 by James.Golding
Check in trace debug draw test map
Change 3188463 on 2016/11/07 by james.cobbett
Submitting Pose Snapshot test map and asset
Change 3188618 on 2016/11/07 by Thomas.Sarkanen
Expanded pose snapshot system
Allows poses to be stored in variables.
Split FPoseSnapshot from FAnimInstanceProxy and made it a BlueprintType USTRUCT.
Added modes to FAnimNode_PoseSnapshot so that we can either use the named pose or a FPoseSnapshot variable pin.
Moved pose snapshot code into USkeletalMeshComponent as it doesnt need to be on the proxy any more.
#jira UEFW-242 - Caching poses to a Blueprint variable (and an anim node to use it with)
Change 3188619 on 2016/11/07 by Thomas.Sarkanen
Moved "NoResetToDefaults" to the correct metadata section in ObjectMacros.h
Change 3188642 on 2016/11/07 by Thomas.Sarkanen
Added new test for pose variables
Change 3188716 on 2016/11/07 by Ben.Zeigler
#jira UE-38294 Fix bad error message when adding new DefaultGameplayTags.ini file
Change 3189020 on 2016/11/07 by dan.reynolds
Added a test map for Audio Volume Ambient Zone test for Play Sound at Location
AVOverviewAZPlaySoundAtLocation
Change 3189188 on 2016/11/07 by Jon.Nabozny
Fix edge cases / alternate IPv6 formats in IPAddressBSDIPv6::SetIp.
#jira UE-36607
Change 3189199 on 2016/11/07 by Jon.Nabozny
Flag UActorComponent, USceneComponent, and UPrimitiveComponent UFUNCTIONS as UnsafeDuringActorConstruction="true" if they
modify unreplicated properties, require use of the PhysScene, or otherwise indicate poor design.
#jira UE-33038
Change 3189271 on 2016/11/07 by Aaron.McLeran
UEFW-224 Refectoring UnrealEd code to move all audio related editing code to a new AudioEditor module
- Fixups for removals
- Several bug fixes for sound classes
Change 3189450 on 2016/11/07 by Aaron.McLeran
Fixes for facial animation playback progress
- Creating a per-source PlaybackTime which can be used to get a fairly accurate playback percentage function for all platforms.
- Allowing platforms to override to get a "sample accurate" playback time for platforms that are able.
Change 3189507 on 2016/11/07 by Wes.Hunt
* Deprecated GetUniqueDeviceId. Use GetDeviceId now instead. #jira AN-820
* Added warnings to each implementation of GetDeviceId as to what API it uses, and what cert requirements may be placed on it.
* Deprecated all platform independent usages of GetMacAddress and related functions. #jira AN-820 #jira AN-802
* Deprecated GetMachineId. Use GetLoginId now instead. #jira AN-811
* Update usages of MachineID throughout CrashReporter code. Left MachineId and LoginId as available attributes.
* Removed LocalPlayer requirement for setting the Analytics UserId in internal products. Removed fallbacks for seting UserId for internal products. #jira AN-814 #jira AN-808
* Removed GetUniqueDeviceId code from LauncherInstaller.
* Removed redundant MachineID and AccountID from Editor.ProgramStarted analytics event.
* Removed DeviceID from SessionStart analytics event.
#FYI: justin.sargent, Chris.Wood, Wes.Fudala
* Justin, reminder that FPortalRpcResponderFactory::Create will need to start using GetLoginID instead of MacAddress for IPC identifiers.
* Chris, look over CRP code to ensure that I didn't destroy some vital bit of necessary connection with the MachineId->LoginId name change. Both values are used, and for now, they both return the same thing.
* Wes, we didn't need GetUnqiueDeviceId attribute in BeginSession, as no one ever uses it, so I just removed it.
Change 3190032 on 2016/11/08 by Wes.Hunt
Fix a few places I forgot to deprecate regarding GetMacAddress.
Change 3190107 on 2016/11/08 by Wes.Hunt
Another attempt to remove deprecation warning in CIS. Apparently removing the warning for a const string initialized via a consrtuctor with a deprecated function is somewhat tricky. Still not sure why it works on my machine either way.
Change 3190326 on 2016/11/08 by Aaron.McLeran
Fixing CIS build warning
Change 3190495 on 2016/11/08 by Jon.Nabozny
Fix OSSNull server / session filtering to better match SessionSettings and online OSS. Make MCP, Steam, and Null LAN queries more consistent.
#jira UE-37512
Change 3190566 on 2016/11/08 by Martin.Wilson
Remove warning on Least Destructive (was incorrectly applied to least destructive due to legacy reasons)
#jira UE-27323
Change 3190631 on 2016/11/08 by Martin.Wilson
Fix notify validation not triggering when using set time/set frame context menu options
#jira UE-37857
Change 3190666 on 2016/11/08 by Martin.Wilson
Add info about anim instance to additive warning
#jira UE-35930
Change 3191290 on 2016/11/09 by Thomas.Sarkanen
Fix skeleton tree selection disappearing when filtering changes
Note: Copying //Tasks/UE4/Dev-UEFW132-PhATUpgrade to Dev-Framework (//UE4/Dev-Framework)
Split SSkeletonTree into multiple files
Items now derive from the common base class ISkeletonTreeItem.
New skeleton tree item RTTI added modlled on the drag/drop RTTI.
Filtering is now performed independently of tree building. Filtering and building are more extensible (more of this to come).
Item selection is now preserved on filter change.
Filtering now (optionally) keeps the hierarchy in place.
#jira UE-31017 - Skeleton Selection is Lost When Changing Filters
Change 3191325 on 2016/11/09 by Thomas.Sarkanen
Fix clang CIS
Change 3191344 on 2016/11/09 by Thomas.Sarkanen
More clang CIS fixes
Change 3191345 on 2016/11/09 by Thomas.Sarkanen
CIS fix: Missed another enum fwd declaration
Change 3191374 on 2016/11/09 by Thomas.Sarkanen
Remove 4.11 deprecated functions from animation systems
Also deprecate NativeUpdateAnimation_WorkerThread as users should no longer be calling this function (it is not run on worker threads anyways).
#jira UE-35748 - Clean up 4.11 Deprecated functions
Change 3191375 on 2016/11/09 by Thomas.Sarkanen
Fixup Orion hero instance after deprecation
Change 3191739 on 2016/11/09 by Marc.Audy
PhysX Vehicle plugin needs to be loaded with -game as well, so it must be Developer, not Editor.
Change 3191827 on 2016/11/09 by Marc.Audy
Raw Input plugin allowing support of steering wheels and flightsticks
#jira UEFW-237
Change 3191828 on 2016/11/09 by Ben.Zeigler
#jira UE-38384 Comment cleanup for gameplay tag library
Change 3191889 on 2016/11/09 by Ben.Zeigler
#jira UE-38294 Fix issues with trying to set not-yet-written settings files as writable and add them to source control
If a settings file does not yet exist on disk, also try adding to source control after writing it
Change 3191911 on 2016/11/09 by Marc.Audy
Enable raw input plugin and configure for use with the Logitech G920 all vehicle templates and vehicle game.
#jira UEFW-237
Change 3191915 on 2016/11/09 by Marc.Audy
Provide useful tooltips for raw input setting properties
#jira UEFW-237
Change 3192039 on 2016/11/09 by dan.reynolds
AEOverview Update
- Added a map for checking multi-channel file playback: AEOverviewMultichannel.umap
- Incorporated AVOverviewAZPlaySoundAtLocation test into the AEOverviewMain submap list temporarily for testing purposes
Change 3192059 on 2016/11/09 by Martin.Wilson
Fix montage thumbnail rendering with ref pose
#jira UE-35578
Change 3192065 on 2016/11/09 by Martin.Wilson
Widen bone reference widget to give a better view of the name and added full name to tooltip
#jira UE-36264
Change 3192217 on 2016/11/09 by Martin.Wilson
Auto selected current bone when opening bone reference tree
#Jira UE-36264
Change 3192332 on 2016/11/09 by Marc.Audy
Fix RawInput compiling when WITH_EDITOR is false
#jira UE-38433
Change 3193061 on 2016/11/10 by Thomas.Sarkanen
Marked facial animation plugin & component as experimental/beta
Change 3193072 on 2016/11/10 by Martin.Wilson
Correct reference skeleton fix up order
Change 3193112 on 2016/11/10 by Danny.Bouimad
Pesudo hair asset usintphat for testing
Change 3193243 on 2016/11/10 by Martin.Wilson
Fix removal of USkeleton bone tree entries
#Jira UE-37363
Change 3193249 on 2016/11/10 by Marc.Audy
Raw input compile fixes:
Fix additional not with_editor compile issues
Fix static analysis warnings
#jira UE-38433
Change 3193558 on 2016/11/10 by Martin.Wilson
Move "Number of Curves" label creation to attribute so that it updates dynamically
#jira UE-26767
Change 3193664 on 2016/11/10 by Marc.Audy
PR #2919: Fixed Comment Typo in ActorComponent.cpp (Contributed by KumaKing)
#jira UE-38436
Change 3193719 on 2016/11/10 by Lukasz.Furman
fixed vertical jitter in replicated NavWalking movement
#jira UE-33260
Change 3193802 on 2016/11/10 by Marc.Audy
Remove some autos, fix NULL to nullptr, call GetWorld just once
Change 3193809 on 2016/11/10 by Marc.Audy
Fix Mac CIS compile error
#jira UE-38501
Change 3194053 on 2016/11/10 by Aaron.McLeran
Fixed crash on shutdown when using audio mixer
- Switching audio mixer to use a runnable thread rather than async tasks
- Fixed issue where audio buffers weren't taking ownership of wave data
Change 3194057 on 2016/11/10 by Aaron.McLeran
Adjusting channel mapping code to better support standard down-mixing for 2D multi-channel files.
- Added support for 8 channel source files.
Change 3194070 on 2016/11/10 by Aaron.McLeran
Fixing stupid compile error
Change 3194779 on 2016/11/11 by Jon.Nabozny
Fixed UnsafeDuringActorConstruction tag on USceneComponent::GetPhysicsVolume.
Missed the '=true' portion.
Change 3194967 on 2016/11/11 by Mieszko.Zielinski
PR #2920: Bug Fix: fix pasting Behavior Tree nodes with decorators in wrong position (Contributed by BrettKercher)
#jira UE-38443
#jira UE-30906
Change 3195741 on 2016/11/11 by Ben.Zeigler
#UE-38539 Stop Orion from reinitializing it's native tag dictionary when reloading menu, this was just slow before but now ensures
Change 3196655 on 2016/11/14 by Marc.Audy
Remove pointless remove/adds from Odin DefaultEngine.ini.
This also fixes the duplicate redirector of AnimNode_WheelHandler as the version in BaseEngine.ini has been changed where it points to
#jira UE-38562
Change 3196678 on 2016/11/14 by Lukasz.Furman
pass on gameplay debugger's EQS category
copy of CL# 3195071, 3195152, 3196617 with local fixes
Change 3196700 on 2016/11/14 by Ben.Zeigler
#jira UE-38539 Move where orion tags are initialized to earlier in the startup for all loading flows
Change 3196719 on 2016/11/14 by Thomas.Sarkanen
Added extra output to anim BP compiler when a blueprint function call is used
This allows us to give more info to users when unsafe things (like blueprint functions) are used.
Change 3196799 on 2016/11/14 by Jurre.deBaare
Fix for blendspace tooltip crash
#fix Check before dereferencing animation ptr on samples :)
Change 3196971 on 2016/11/14 by Lukasz.Furman
replaced hardcoded value for pathfollowing's focal point distance with a parameter
#ue4
Change 3196994 on 2016/11/14 by Marc.Audy
Slightly improve performance of boolean check
Change 3197768 on 2016/11/14 by dan.reynolds
AEOverview Stage 2 WIP
- Added Command Line auto sub-level loading (-AELoadMap=MapName01,MapName02,etc.) or sub-level categories auto loading (-AELoadCat=AE,SC,STRM,AV,etc.)
- Added Categorization menu to Main staging map to help sorting maps by category
- Changed menu to be dynamically loaded from editable Data Structure Arrays, so all the menu information is loaded dynamically.
Change 3197782 on 2016/11/14 by dan.reynolds
AEOverview Stage 2 WIP - fixed misnamed sub-level reference, cleaned up some of the BP
Change 3197801 on 2016/11/14 by dan.reynolds
AEOverviewMain Stage 2 WIP:
- Added Select All Buttom to select all loaded menu items
Change 3197988 on 2016/11/15 by Thomas.Sarkanen
Add the ability to use incompatible meshes with snapshots
We now use a name-based mapping to copy local poses to the correct bones in the hierarchy, similar to CopyPoseFromMesh.
No access to UObjects (components or meshes) is performed on worker threads. Bone names are all cached on the game thread when needed and used on worker threads.
#jira UE-38413 - Pose snapshot cannot be used across meshes with different hierarchies
Change 3198062 on 2016/11/15 by Thomas.Sarkanen
Disabled threaded update on various anim blueprints to remove cook warnings
#jira UE-38537 - Cooking FortniteGame results in warnings
Change 3198071 on 2016/11/15 by Thomas.Sarkanen
Fix default values not being available to change post anim BP compilation
Make sure we re-select with force refresh on so the details panel is rebuilt even if the objects are the same (as the customization relies upon it).
#jira UE-38518 - Animation Blueprint: Default values cannot be changed after compiling if node is currently selected
Change 3198082 on 2016/11/15 by Jurre.deBaare
CRASH If the Vertical Axis of a blendspace is set to 0 segments when an animation is on the blendspace the editor crashes
#fix UI and ClampMin to 1
#jira UE-38587
Change 3198138 on 2016/11/15 by Thomas.Sarkanen
Expose montage functions to Blueprint
Made sure to flag appropriate functions as not thread safe.
Also const-corrected a few functions that should be.
Github #2918: Blueprint Callable Montage Set/Get Position
#jira UE-38391 - GitHub 2918 : Blueprint Callable Montage Set/Get Position
Change 3198141 on 2016/11/15 by Jurre.deBaare
Crash from generated Merged Actor with no created lightmap UV
#fix Always flag UV channel 0 to be occupied
#jira UE-38520
Change 3198420 on 2016/11/15 by Thomas.Sarkanen
Move thread-safety check flags to the UAnimBlueprint
Then have the compiler propogate the flags to the CDO. Prevents issues where the old CDO wasnt propgated during compile-on-load.
Also move blueprint usage warning flag into the UAnimBlueprint too, as these suffer from the same issues.
#jira UE-38537 - Cooking FortniteGame results in warnings
Change 3198485 on 2016/11/15 by Thomas.Sarkanen
Properly fix compile-on-load/cook warnings about anim blueprint thread safety
Content only re-save.
#jira UE-38537 - Cooking FortniteGame results in warnings
Change 3198622 on 2016/11/15 by Ben.Zeigler
#jira UE-38632 Fix blueprint warning, was calling SetActive from construction script which is no longer allowed. This was being used for an editor-only debug feature
[CL 3198987 by Marc Audy in Main branch]
2016-11-15 15:29:41 -05:00
|
|
|
|
|
|
|
|
FConnectionDrawingPolicy* FSoundCueGraphConnectionDrawingPolicyFactory::CreateConnectionPolicy(const class UEdGraphSchema* Schema, int32 InBackLayerID, int32 InFrontLayerID, float ZoomFactor, const class FSlateRect& InClippingRect, class FSlateWindowElementList& InDrawElements, class UEdGraph* InGraphObj) const
|
|
|
|
|
{
|
|
|
|
|
if (Schema->IsA(USoundCueGraphSchema::StaticClass()))
|
|
|
|
|
{
|
|
|
|
|
return new FSoundCueGraphConnectionDrawingPolicy(InBackLayerID, InFrontLayerID, ZoomFactor, InClippingRect, InDrawElements, InGraphObj);
|
|
|
|
|
}
|
|
|
|
|
return nullptr;
|
|
|
|
|
}
|
|
|
|
|
|
2014-11-14 18:23:41 -05:00
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////
|
|
|
|
|
// FSoundCueGraphConnectionDrawingPolicy
|
|
|
|
|
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3198622)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3182087 on 2016/11/01 by Lina.Halper
PR #2328: fix morph target weight application order. (Contributed by tmiv)
- changed order of morphtarget application to be animation and THEN SetMorphTarget
- made sure you could clear the weight also if SetMorphTarget to be 0.f
#jira: UE-29999
Change 3182090 on 2016/11/01 by Lina.Halper
Fix issue where import doesn't display any message when import type hasn't been detected
Change 3182123 on 2016/11/01 by Wes.Hunt
ensure the EngineAnalytics singleton is not being held onto by someone else during engine shutdown.
Change 3182177 on 2016/11/01 by Lina.Halper
Fix not being able to modify Joint Target Location in detail panel
#jira: UE-30900
Change 3182181 on 2016/11/01 by Ben.Zeigler
Add UGameplayTagsManager::AddNativeGameplayTag to allow registering tags directly from native code. This stops them from being deleteable in the editor, and will register them even if they don't exist elsewhere
Change internal games to use this to register their native tags. The explicit call to be done adding native tags is not required, it happens on engine post init
Some header cleanup
Change 3182876 on 2016/11/02 by Danny.Bouimad
Moving files
Change 3182912 on 2016/11/02 by Thomas.Sarkanen
Added access to the viewport client from IPersonaViewport
Allows systems to hook into the state of the client.
#jira UE-36549 - Need to access the current viewmode in FPersonaMeshDetails
Change 3182927 on 2016/11/02 by Thomas.Sarkanen
Initially select current asset in the asset family shortcut bar dropdown
#jira UE-35532 - Animation dropdown submenu doesn't highlight currently selected object, where as the asset browser does
Change 3182970 on 2016/11/02 by Lukasz.Furman
CIS fix for gameplay debugger
copy of CL# 3165005
Change 3183123 on 2016/11/02 by Mieszko.Zielinski
Fixed changing AreaClass of NavLinkProxy point links not having any effect on navmesh generation #UE4
Change 3183310 on 2016/11/02 by Jurre.deBaare
Blendspace changes:
- Moved MarkerSync code from BlendSpaceBase.cpp to BlendSpaceUtilities.h/cpp
- Re-ordered blendspace.h/cpp
- const correctness where possible
- Removed unused code paths
- Wrapped non-runtime code paths in WITH_EDITOR
Blendspace editor refactor:
- Moved element generators into respective AnimationBlendSpaceHelpers.h/cpp
- New Grid Widget class
- Simplified Blendspace(1D) editors, most things are handled within SAnimationBlendSpaceBase
- SBlendSpaceGridWidget handles visualization and UI interaction (modifying blendspace is done through parent SAnimationBlendSpaceBase)
Change 3183344 on 2016/11/02 by James.Golding
UEFW-181 : Move PhysX vehicle support to a plugin
- Added FPhysicsDelegates for several useful global physics delegates (OnUpdatePhysXMaterial, OnPhysicsAssetChanged, OnPhysSceneInit, OnPhysSceneTerm)
- Added OnPhysScenePreTick and OnPhysSceneStep delegates to FPhysScene
- TireType is now deprecated, just kept in Engine for backwards compat. TireConfig in PhysXVehicles plugin is new structure
- Added 'ConvertTireTypes' editor console util which creates TireConfig's from TireTypes's (using asset registry) and PhysicalMaterials, and updates any VehicleWheel BPs
Change 3183351 on 2016/11/02 by Ben.Zeigler
Add utility functions to convert from export text versions of tag and container, which is useful when reading tags out of the asset registry
Change 3183354 on 2016/11/02 by Ben.Zeigler
Change fortnite to use new GameplayTag functions to parse tags in the asset registry to avoid bad stall while checking mission requirements. This only works once the mission infos have been resaved
Change 3183383 on 2016/11/02 by Thomas.Sarkanen
Persona camera fixes
Dont reset the camera all the time when setting skeletal meshes (we only do this the first time now).
Add shortcuts to focus the camera using 'F' key from the skeleton tree (or anywhere else that wants to). Also add a menu option to the viewport to make this more discoverable.
Shortcut is now handles by the viewport widget instead of the client (as this is how other viewports handle it).
#jira UE-36458 - Stop camera from resetting when doing undo or redo in persona animation editor
Change 3183409 on 2016/11/02 by Jon.Nabozny
#rn Allow MAX_ARRAY_SIZE and MAX_ARRAY_MEMORY from RepLayout to be user configurable.
#jira UE-35660
Change 3183625 on 2016/11/02 by James.Golding
Hopeful fix for Mac CIS issue in PhysXVehiclesEditor
Change 3183652 on 2016/11/02 by Ben.Zeigler
Fix issue where commonly replicated tags didn't work if load from ini was turned off.
Fix it so gameplay tag tree is always fully sorted alphabetically, instead of only the root tags being sorted.
Change 3183856 on 2016/11/02 by Richard.Hinckley
#jira UEDOC-4006
Editing GameMode and GameState documentation (in Framework branch).
Change 3183902 on 2016/11/02 by Mieszko.Zielinski
Fixed EQS debug drawing not showing item labels #UE4
Proper implementation of CL#3183899
#jira UE-38122
Change 3183996 on 2016/11/02 by Jon.Nabozny
Fix DefaultMaxRepArrayMemory value to be UINT16_MAX (65535). Was previously set to 64 * 1024 = 65536.
Change 3184129 on 2016/11/02 by Ben.Zeigler
#jira UE-38022 Move GameplayAbilities to a plugin.
Remove GameplayAbilitiesEditorEnabled ini setting, instead enable the "GameplayAbilities" plugin in your uproject if you want abilities, it's disabled by default
#jira UE-6947 Remove GameplayAbilityBlueprintGeneratedClass as it's not needed and was only being used half the time
#jira UE-19427 Fix incorrect usage of WorldContextObject in ability tasks to instead be OwningAbility, as it would crash if used on anything other than a gameplay ability object
Change 3184130 on 2016/11/02 by Ben.Zeigler
Internal game fixups for moving gameplayabilities to a plugin
Change 3184469 on 2016/11/02 by Ben.Zeigler
Change abilities plugin to be more obviously unsupported
Change 3184565 on 2016/11/02 by dan.reynolds
AEOverview update with HRTF test map
Change 3184800 on 2016/11/03 by Thomas.Sarkanen
Added "Show Selected and Parents" to bone display options
Also fixed mis-named menu section.
#jira UE-35375 - Add 'selected bone and parents' option to Persona viewport
Change 3184810 on 2016/11/03 by James.Golding
Remove WoflPlat PhysX 3.3 and Apex 1.3 files
Change 3184817 on 2016/11/03 by Thomas.Sarkanen
Added facial animation support
Added curve table to sound wave (internal or external). Added UI support for manipulating these.
Improved curve table editor.
- Editor can now display curves as well as tables.
- Sparse keys are now properly supported (where keys are not presnet at some times in some curves).
Added curve source interface.
Added external curve node. This allows any component or actor (BP or native) that implements ICurveSourceInterface to drive curves.
Added new audio component that can also provide curves. This handles the preroll delay (approx 0.4 seconds, depending on audio) so the mouth can open before audio is played.
Added bulk importer plugin.
This imports audio & FBX files and builds cuirve data into SoundWave assets.
- Adapted exisitng FBX curve import slightly to use FRichCurves rather than FFloatCurves.
- Added new support for importing curves to a curve table.
Added preview of audio to Persona.
- Added display, filtering and playback of sound waves from the anim sequence browser.
- Audio playback with curves routed to animation now works with anim blueprints and pose assets (as we need a pose asset to preview poses!)
- Persona now uses an Actor rather than disparate components.
- Added overrides for AddComponent and RemoveComponent to make sure actor is hooked up correctly.
- Preview scene can now be manipulated by plugins etc. using a delegate when it is created.
- Single anim instance has been slightly re-worked to do its update and evaluate logic inside of a local anim node. This allows derived classes to build functionality up component-wise by adding new nodes to the 'graph'.
#jira UEFW-7 - Routing Sound Curves to AnimBP
#jira UEFW-5 - Support importing curves
#jira UE-37950 - Spawn preview actor in animation editor
Change 3184837 on 2016/11/03 by James.Golding
PR #2896: Fix FVehicleAnimInstanceProxy::PreUpdate not calling FFAnimInstanceProxy's PreUpdate (Contributed by DenizPiri)
#jira UE-37978
Change 3184847 on 2016/11/03 by Thomas.Sarkanen
Fixed editor shutdown crash
Dont try to save config when UObjects are all gone.
Change 3184853 on 2016/11/03 by James.Golding
Stop Engine module linking against PhysX vehicle lib, link that into PhysXVehicles plugin instead.
Change 3184884 on 2016/11/03 by Thomas.Sarkanen
Anim Blueprint thread safety is now checked in the compiler
Added new metadata keys for classes and functions to describe their thread safety.
Added extra warnings in the anim BP compiler based around these new keys to help people catch suspect thread usage.
Expanded the compiler erorr reporting to allow for extra rich message tokens to be appended (for documentation etc.).
Improved BP error reporting: Now we display the actual node name instead of CallFunction_0 etc.
CVar forcing multithreaded update is now defaulted to off. Projects now by default enable it but can more easily opt-out.
#doc Added link to new section of AnimGraph page, which may benefit from images etc.
#jira UE-28283 - Look into expanding the system to determine what nodes we allow to run on worker threads.
Change 3184886 on 2016/11/03 by Thomas.Sarkanen
Content fixes for anim BP thread safety warnings
Ocean:
Random Float node is unsafe (uses rand() unde rthe hood) so replaced with Random Stream.
Odin:
Flying Bot accessed the character blueprint inside some transitions. Cached the value in the event graph instead.
Fortnite:
Disable threaded update for a number of anim BPs as they were using unsafe calls when using CopyPoseFromMesh
Change 3184894 on 2016/11/03 by Thomas.Sarkanen
Fix Mac CIS
Change 3184951 on 2016/11/03 by Thomas.Sarkanen
Fix CIS warning on clang platforms
Change 3185176 on 2016/11/03 by James.Golding
Hopeful fix for building PhysXVehicles plugin for mac
Change 3185289 on 2016/11/03 by Alex.Delesky
#jira UE-37773 - Updating the Gameplay Tags UI to allow for the following:
-Addition of a tag with comments and a specific INI location
-An "Add Subtag" button that will allow the user to create a tag underneath a specified parent that autofills most of the information (parent name and location) for the new tag
-A dropdown menu to allow for additional actions to be performed on a tag (rename, delete, search for references)
-Comments for gameplay tags now show up in the tooltip forthe tag rather than the tag name if one had been specified
-Shows a tree in the Project Settings window when viewing the gameplay tag list instead of an array
Change 3185331 on 2016/11/03 by Marc.Audy
Remove duplicated condition from if
Change 3185426 on 2016/11/03 by James.Golding
Another attempt at fixing mac builds of PhysXVehicles plugin
Change 3185487 on 2016/11/03 by James.Golding
- Remove TireType assets from templates/sample, add TireConfigs instead
- Make deprecated vehicle vars visible (but not editable), to help converting content
- Change icon for PhysX vehicle plugin
Change 3185520 on 2016/11/03 by James.Golding
Trying yet again to fix Mac CIS!
Change 3185542 on 2016/11/03 by Ben.Zeigler
#jira UE-34086
Commit modified version of PR #2665 to allow overriding crouch behavior in subclasses of CharacterMovementComponent
#jira UE-35652
Fix crouch behavior to not change capsule until after uncroach check, to avoid causing unnecessary physics side effects
Also had to set the TeleportPhysics flag in this case, so add code to remember if a teleport was attempted during a deferred movement, and then apply that flag during EndScopedMovementUpdate
Change 3185570 on 2016/11/03 by Marc.Audy
Protect against theoretical crash introduced in CL# 2049861 if CreatePackage returns null.
Remove some autos
Change 3185749 on 2016/11/03 by dan.reynolds
AEOverview test map addition: testing Virtual Voice
Change 3185946 on 2016/11/03 by dan.reynolds
AEOverview tweaks - clarified success conditions for Streaming Spam and Streaming Priority maps
Change 3185972 on 2016/11/03 by Lina.Halper
Fix issue with offset of attachment getting messed up because parent doesn't tick the animation correctly when opening level from Content Browser
#jira: UE-31890
#code review: Thomas.Sarkanen
Change 3186043 on 2016/11/03 by Alex.Delesky
#jira UE-37773 - Fixing some of the gameplay tags UI based on feedback
-Right-aligned input fields for the AddNewGameplayTag and RenameGameplayTag widgets
-Added a divider to the GameplayTag widget that will appear when the AddNewGameplayTag widget is visible
-Tags with comments will now display both their name and their comment in tooltips
Change 3186207 on 2016/11/03 by Alex.Delesky
#jira UE-37773 - The Gameplay Tags widget in the project browser will no longer display the disabled checkboxes and disabled text for the tag names
Change 3186321 on 2016/11/03 by Dan.Reynolds
Removed deprecated test asset (BP_ProceduralSoundWaveTest)
Change 3186740 on 2016/11/04 by Thomas.Sarkanen
Removed FPersona and supporting classes
Also removed UMorphTarget's asset type actions (as it was nearly empty and we dont use them as assets any more).
#jira UEFW-222 - Remove FPersona
Change 3186741 on 2016/11/04 by Thomas.Sarkanen
Fix non-unity builds
Change 3186755 on 2016/11/04 by Thomas.Sarkanen
Prevent adding keys to read-only curves in curve tables
Lock off the shift-LMB shortcut to add keys
#jira UE-38210 - Crash trying to add a key to a curve table in curve view
Change 3186798 on 2016/11/04 by James.Golding
UE-37503 - Add FHitResult output to K2_LineTraceComponent
Change 3186800 on 2016/11/04 by James.Golding
- Remove deprecated collision functions in KismetSystemLibrary
- Remove _NEW from collision function names, add redirectors
- Add debug draw options (TraceColor, TraceHitColor, DrawTime) to shape traces, to match line traces (UE-35941)
Change 3186989 on 2016/11/04 by James.Golding
Fix CIS fail in Fortnte
Change 3187081 on 2016/11/04 by Wes.Hunt
EngineAnalytics::Shutdown now checks to see if the Analytics pointer is null OR unique before ensuring. #jira UE-38125
Change 3187135 on 2016/11/04 by Jurre.deBaare
Fix for incorrect framework version in blendspace serialization code.
Change 3187682 on 2016/11/04 by Ben.Zeigler
#jira UE-38289 Fix crash when replicated tag array is empty
Change 3188113 on 2016/11/05 by Mieszko.Zielinski
Removed a bunch of deprecated AI module functions #UE4
Cut-off point at v4.10
Change 3188119 on 2016/11/05 by Mieszko.Zielinski
Deprecated AI functionality removal fallout fixes #UE4
Change 3188121 on 2016/11/05 by Mieszko.Zielinski
PR #2883: Added a Cone EQS Generator (Contributed by orfeasel)
Did some massaging on change.
#jira UE-37685
Change 3188122 on 2016/11/05 by Mieszko.Zielinski
Bumped EnvQueryGenerator_Cone.AlignedPointsDistance's default value up to 100, which makes a bit more sense #UE4
Change 3188442 on 2016/11/07 by James.Golding
Check in trace debug draw test map
Change 3188463 on 2016/11/07 by james.cobbett
Submitting Pose Snapshot test map and asset
Change 3188618 on 2016/11/07 by Thomas.Sarkanen
Expanded pose snapshot system
Allows poses to be stored in variables.
Split FPoseSnapshot from FAnimInstanceProxy and made it a BlueprintType USTRUCT.
Added modes to FAnimNode_PoseSnapshot so that we can either use the named pose or a FPoseSnapshot variable pin.
Moved pose snapshot code into USkeletalMeshComponent as it doesnt need to be on the proxy any more.
#jira UEFW-242 - Caching poses to a Blueprint variable (and an anim node to use it with)
Change 3188619 on 2016/11/07 by Thomas.Sarkanen
Moved "NoResetToDefaults" to the correct metadata section in ObjectMacros.h
Change 3188642 on 2016/11/07 by Thomas.Sarkanen
Added new test for pose variables
Change 3188716 on 2016/11/07 by Ben.Zeigler
#jira UE-38294 Fix bad error message when adding new DefaultGameplayTags.ini file
Change 3189020 on 2016/11/07 by dan.reynolds
Added a test map for Audio Volume Ambient Zone test for Play Sound at Location
AVOverviewAZPlaySoundAtLocation
Change 3189188 on 2016/11/07 by Jon.Nabozny
Fix edge cases / alternate IPv6 formats in IPAddressBSDIPv6::SetIp.
#jira UE-36607
Change 3189199 on 2016/11/07 by Jon.Nabozny
Flag UActorComponent, USceneComponent, and UPrimitiveComponent UFUNCTIONS as UnsafeDuringActorConstruction="true" if they
modify unreplicated properties, require use of the PhysScene, or otherwise indicate poor design.
#jira UE-33038
Change 3189271 on 2016/11/07 by Aaron.McLeran
UEFW-224 Refectoring UnrealEd code to move all audio related editing code to a new AudioEditor module
- Fixups for removals
- Several bug fixes for sound classes
Change 3189450 on 2016/11/07 by Aaron.McLeran
Fixes for facial animation playback progress
- Creating a per-source PlaybackTime which can be used to get a fairly accurate playback percentage function for all platforms.
- Allowing platforms to override to get a "sample accurate" playback time for platforms that are able.
Change 3189507 on 2016/11/07 by Wes.Hunt
* Deprecated GetUniqueDeviceId. Use GetDeviceId now instead. #jira AN-820
* Added warnings to each implementation of GetDeviceId as to what API it uses, and what cert requirements may be placed on it.
* Deprecated all platform independent usages of GetMacAddress and related functions. #jira AN-820 #jira AN-802
* Deprecated GetMachineId. Use GetLoginId now instead. #jira AN-811
* Update usages of MachineID throughout CrashReporter code. Left MachineId and LoginId as available attributes.
* Removed LocalPlayer requirement for setting the Analytics UserId in internal products. Removed fallbacks for seting UserId for internal products. #jira AN-814 #jira AN-808
* Removed GetUniqueDeviceId code from LauncherInstaller.
* Removed redundant MachineID and AccountID from Editor.ProgramStarted analytics event.
* Removed DeviceID from SessionStart analytics event.
#FYI: justin.sargent, Chris.Wood, Wes.Fudala
* Justin, reminder that FPortalRpcResponderFactory::Create will need to start using GetLoginID instead of MacAddress for IPC identifiers.
* Chris, look over CRP code to ensure that I didn't destroy some vital bit of necessary connection with the MachineId->LoginId name change. Both values are used, and for now, they both return the same thing.
* Wes, we didn't need GetUnqiueDeviceId attribute in BeginSession, as no one ever uses it, so I just removed it.
Change 3190032 on 2016/11/08 by Wes.Hunt
Fix a few places I forgot to deprecate regarding GetMacAddress.
Change 3190107 on 2016/11/08 by Wes.Hunt
Another attempt to remove deprecation warning in CIS. Apparently removing the warning for a const string initialized via a consrtuctor with a deprecated function is somewhat tricky. Still not sure why it works on my machine either way.
Change 3190326 on 2016/11/08 by Aaron.McLeran
Fixing CIS build warning
Change 3190495 on 2016/11/08 by Jon.Nabozny
Fix OSSNull server / session filtering to better match SessionSettings and online OSS. Make MCP, Steam, and Null LAN queries more consistent.
#jira UE-37512
Change 3190566 on 2016/11/08 by Martin.Wilson
Remove warning on Least Destructive (was incorrectly applied to least destructive due to legacy reasons)
#jira UE-27323
Change 3190631 on 2016/11/08 by Martin.Wilson
Fix notify validation not triggering when using set time/set frame context menu options
#jira UE-37857
Change 3190666 on 2016/11/08 by Martin.Wilson
Add info about anim instance to additive warning
#jira UE-35930
Change 3191290 on 2016/11/09 by Thomas.Sarkanen
Fix skeleton tree selection disappearing when filtering changes
Note: Copying //Tasks/UE4/Dev-UEFW132-PhATUpgrade to Dev-Framework (//UE4/Dev-Framework)
Split SSkeletonTree into multiple files
Items now derive from the common base class ISkeletonTreeItem.
New skeleton tree item RTTI added modlled on the drag/drop RTTI.
Filtering is now performed independently of tree building. Filtering and building are more extensible (more of this to come).
Item selection is now preserved on filter change.
Filtering now (optionally) keeps the hierarchy in place.
#jira UE-31017 - Skeleton Selection is Lost When Changing Filters
Change 3191325 on 2016/11/09 by Thomas.Sarkanen
Fix clang CIS
Change 3191344 on 2016/11/09 by Thomas.Sarkanen
More clang CIS fixes
Change 3191345 on 2016/11/09 by Thomas.Sarkanen
CIS fix: Missed another enum fwd declaration
Change 3191374 on 2016/11/09 by Thomas.Sarkanen
Remove 4.11 deprecated functions from animation systems
Also deprecate NativeUpdateAnimation_WorkerThread as users should no longer be calling this function (it is not run on worker threads anyways).
#jira UE-35748 - Clean up 4.11 Deprecated functions
Change 3191375 on 2016/11/09 by Thomas.Sarkanen
Fixup Orion hero instance after deprecation
Change 3191739 on 2016/11/09 by Marc.Audy
PhysX Vehicle plugin needs to be loaded with -game as well, so it must be Developer, not Editor.
Change 3191827 on 2016/11/09 by Marc.Audy
Raw Input plugin allowing support of steering wheels and flightsticks
#jira UEFW-237
Change 3191828 on 2016/11/09 by Ben.Zeigler
#jira UE-38384 Comment cleanup for gameplay tag library
Change 3191889 on 2016/11/09 by Ben.Zeigler
#jira UE-38294 Fix issues with trying to set not-yet-written settings files as writable and add them to source control
If a settings file does not yet exist on disk, also try adding to source control after writing it
Change 3191911 on 2016/11/09 by Marc.Audy
Enable raw input plugin and configure for use with the Logitech G920 all vehicle templates and vehicle game.
#jira UEFW-237
Change 3191915 on 2016/11/09 by Marc.Audy
Provide useful tooltips for raw input setting properties
#jira UEFW-237
Change 3192039 on 2016/11/09 by dan.reynolds
AEOverview Update
- Added a map for checking multi-channel file playback: AEOverviewMultichannel.umap
- Incorporated AVOverviewAZPlaySoundAtLocation test into the AEOverviewMain submap list temporarily for testing purposes
Change 3192059 on 2016/11/09 by Martin.Wilson
Fix montage thumbnail rendering with ref pose
#jira UE-35578
Change 3192065 on 2016/11/09 by Martin.Wilson
Widen bone reference widget to give a better view of the name and added full name to tooltip
#jira UE-36264
Change 3192217 on 2016/11/09 by Martin.Wilson
Auto selected current bone when opening bone reference tree
#Jira UE-36264
Change 3192332 on 2016/11/09 by Marc.Audy
Fix RawInput compiling when WITH_EDITOR is false
#jira UE-38433
Change 3193061 on 2016/11/10 by Thomas.Sarkanen
Marked facial animation plugin & component as experimental/beta
Change 3193072 on 2016/11/10 by Martin.Wilson
Correct reference skeleton fix up order
Change 3193112 on 2016/11/10 by Danny.Bouimad
Pesudo hair asset usintphat for testing
Change 3193243 on 2016/11/10 by Martin.Wilson
Fix removal of USkeleton bone tree entries
#Jira UE-37363
Change 3193249 on 2016/11/10 by Marc.Audy
Raw input compile fixes:
Fix additional not with_editor compile issues
Fix static analysis warnings
#jira UE-38433
Change 3193558 on 2016/11/10 by Martin.Wilson
Move "Number of Curves" label creation to attribute so that it updates dynamically
#jira UE-26767
Change 3193664 on 2016/11/10 by Marc.Audy
PR #2919: Fixed Comment Typo in ActorComponent.cpp (Contributed by KumaKing)
#jira UE-38436
Change 3193719 on 2016/11/10 by Lukasz.Furman
fixed vertical jitter in replicated NavWalking movement
#jira UE-33260
Change 3193802 on 2016/11/10 by Marc.Audy
Remove some autos, fix NULL to nullptr, call GetWorld just once
Change 3193809 on 2016/11/10 by Marc.Audy
Fix Mac CIS compile error
#jira UE-38501
Change 3194053 on 2016/11/10 by Aaron.McLeran
Fixed crash on shutdown when using audio mixer
- Switching audio mixer to use a runnable thread rather than async tasks
- Fixed issue where audio buffers weren't taking ownership of wave data
Change 3194057 on 2016/11/10 by Aaron.McLeran
Adjusting channel mapping code to better support standard down-mixing for 2D multi-channel files.
- Added support for 8 channel source files.
Change 3194070 on 2016/11/10 by Aaron.McLeran
Fixing stupid compile error
Change 3194779 on 2016/11/11 by Jon.Nabozny
Fixed UnsafeDuringActorConstruction tag on USceneComponent::GetPhysicsVolume.
Missed the '=true' portion.
Change 3194967 on 2016/11/11 by Mieszko.Zielinski
PR #2920: Bug Fix: fix pasting Behavior Tree nodes with decorators in wrong position (Contributed by BrettKercher)
#jira UE-38443
#jira UE-30906
Change 3195741 on 2016/11/11 by Ben.Zeigler
#UE-38539 Stop Orion from reinitializing it's native tag dictionary when reloading menu, this was just slow before but now ensures
Change 3196655 on 2016/11/14 by Marc.Audy
Remove pointless remove/adds from Odin DefaultEngine.ini.
This also fixes the duplicate redirector of AnimNode_WheelHandler as the version in BaseEngine.ini has been changed where it points to
#jira UE-38562
Change 3196678 on 2016/11/14 by Lukasz.Furman
pass on gameplay debugger's EQS category
copy of CL# 3195071, 3195152, 3196617 with local fixes
Change 3196700 on 2016/11/14 by Ben.Zeigler
#jira UE-38539 Move where orion tags are initialized to earlier in the startup for all loading flows
Change 3196719 on 2016/11/14 by Thomas.Sarkanen
Added extra output to anim BP compiler when a blueprint function call is used
This allows us to give more info to users when unsafe things (like blueprint functions) are used.
Change 3196799 on 2016/11/14 by Jurre.deBaare
Fix for blendspace tooltip crash
#fix Check before dereferencing animation ptr on samples :)
Change 3196971 on 2016/11/14 by Lukasz.Furman
replaced hardcoded value for pathfollowing's focal point distance with a parameter
#ue4
Change 3196994 on 2016/11/14 by Marc.Audy
Slightly improve performance of boolean check
Change 3197768 on 2016/11/14 by dan.reynolds
AEOverview Stage 2 WIP
- Added Command Line auto sub-level loading (-AELoadMap=MapName01,MapName02,etc.) or sub-level categories auto loading (-AELoadCat=AE,SC,STRM,AV,etc.)
- Added Categorization menu to Main staging map to help sorting maps by category
- Changed menu to be dynamically loaded from editable Data Structure Arrays, so all the menu information is loaded dynamically.
Change 3197782 on 2016/11/14 by dan.reynolds
AEOverview Stage 2 WIP - fixed misnamed sub-level reference, cleaned up some of the BP
Change 3197801 on 2016/11/14 by dan.reynolds
AEOverviewMain Stage 2 WIP:
- Added Select All Buttom to select all loaded menu items
Change 3197988 on 2016/11/15 by Thomas.Sarkanen
Add the ability to use incompatible meshes with snapshots
We now use a name-based mapping to copy local poses to the correct bones in the hierarchy, similar to CopyPoseFromMesh.
No access to UObjects (components or meshes) is performed on worker threads. Bone names are all cached on the game thread when needed and used on worker threads.
#jira UE-38413 - Pose snapshot cannot be used across meshes with different hierarchies
Change 3198062 on 2016/11/15 by Thomas.Sarkanen
Disabled threaded update on various anim blueprints to remove cook warnings
#jira UE-38537 - Cooking FortniteGame results in warnings
Change 3198071 on 2016/11/15 by Thomas.Sarkanen
Fix default values not being available to change post anim BP compilation
Make sure we re-select with force refresh on so the details panel is rebuilt even if the objects are the same (as the customization relies upon it).
#jira UE-38518 - Animation Blueprint: Default values cannot be changed after compiling if node is currently selected
Change 3198082 on 2016/11/15 by Jurre.deBaare
CRASH If the Vertical Axis of a blendspace is set to 0 segments when an animation is on the blendspace the editor crashes
#fix UI and ClampMin to 1
#jira UE-38587
Change 3198138 on 2016/11/15 by Thomas.Sarkanen
Expose montage functions to Blueprint
Made sure to flag appropriate functions as not thread safe.
Also const-corrected a few functions that should be.
Github #2918: Blueprint Callable Montage Set/Get Position
#jira UE-38391 - GitHub 2918 : Blueprint Callable Montage Set/Get Position
Change 3198141 on 2016/11/15 by Jurre.deBaare
Crash from generated Merged Actor with no created lightmap UV
#fix Always flag UV channel 0 to be occupied
#jira UE-38520
Change 3198420 on 2016/11/15 by Thomas.Sarkanen
Move thread-safety check flags to the UAnimBlueprint
Then have the compiler propogate the flags to the CDO. Prevents issues where the old CDO wasnt propgated during compile-on-load.
Also move blueprint usage warning flag into the UAnimBlueprint too, as these suffer from the same issues.
#jira UE-38537 - Cooking FortniteGame results in warnings
Change 3198485 on 2016/11/15 by Thomas.Sarkanen
Properly fix compile-on-load/cook warnings about anim blueprint thread safety
Content only re-save.
#jira UE-38537 - Cooking FortniteGame results in warnings
Change 3198622 on 2016/11/15 by Ben.Zeigler
#jira UE-38632 Fix blueprint warning, was calling SetActive from construction script which is no longer allowed. This was being used for an editor-only debug feature
[CL 3198987 by Marc Audy in Main branch]
2016-11-15 15:29:41 -05:00
|
|
|
class UGraphEditorSettings;
|
|
|
|
|
|
2014-11-14 18:23:41 -05:00
|
|
|
FSoundCueGraphConnectionDrawingPolicy::FSoundCueGraphConnectionDrawingPolicy(int32 InBackLayerID, int32 InFrontLayerID, float ZoomFactor, const FSlateRect& InClippingRect, FSlateWindowElementList& InDrawElements, UEdGraph* InGraphObj)
|
|
|
|
|
: FConnectionDrawingPolicy(InBackLayerID, InFrontLayerID, ZoomFactor, InClippingRect, InDrawElements)
|
|
|
|
|
, GraphObj(InGraphObj)
|
|
|
|
|
{
|
|
|
|
|
// Cache off the editor options
|
|
|
|
|
ActiveColor = Settings->TraceAttackColor;
|
|
|
|
|
InactiveColor = Settings->TraceReleaseColor;
|
|
|
|
|
|
|
|
|
|
ActiveWireThickness = Settings->TraceAttackWireThickness;
|
|
|
|
|
InactiveWireThickness = Settings->TraceReleaseWireThickness;
|
|
|
|
|
|
|
|
|
|
// Don't want to draw ending arrowheads
|
|
|
|
|
ArrowImage = nullptr;
|
|
|
|
|
ArrowRadius = FVector2D::ZeroVector;
|
|
|
|
|
}
|
|
|
|
|
|
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2899855 on 2016/03/08 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785
Change 2926689 on 2016/03/29 by Jeff.Farris
AAIController::SetFocus() will now implicitly clear any location focus at the same priority.
UE-27975
#rb john.abercrombie
Change 2926690 on 2016/03/29 by Jeff.Farris
Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106)
Change 2926691 on 2016/03/29 by mason.seay
Content for testing collision on scaled components
Change 2926692 on 2016/03/29 by Jeff.Farris
- FixupDeltaSeconds now considers time dilation when clamping.
- Acceptable range for time dilation values is now a config parameter on WorldSettings
- Acceptable range for undilated frame times is now a config parameter on WorldSettings
(UE-27815)
#rb marc.audy
Change 2926711 on 2016/03/29 by Ori.Cohen
Fix constraint rendering when scaling a cosntraint actor
#JIRA UE-28691, UE-28700
#rb Lina.Halper
Change 2926745 on 2016/03/29 by Lukasz.Furman
navigation filters can now be instantiated per querier - usually AI agent
required for FORT-21372
Change 2926789 on 2016/03/29 by Ori.Cohen
Downgrade check to ensure for 2d physics during a hard shutdown
#rb Michael.Noland
Change 2926859 on 2016/03/29 by Ori.Cohen
Fix red herring warnings of not locking physx scenes during hard shutdown.
#JIRA UE-28747
#rb Michael.Noland
Change 2927444 on 2016/03/30 by Thomas.Sarkanen
Fixed Blueprint compiler errors when resetting timer handles
Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint.
Corrected a left-over formatting oversight when converting a FTimerHandle to a string.
Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version.
#rb Maciej.Mroz (and a few others!)
#jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite
Change 2927520 on 2016/03/30 by Jurre.deBaare
Should not allow skeletal mesh components mobility to be set to static, but detach instead
#fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component
#jira UE-26364
Change 2927533 on 2016/03/30 by Jurre.deBaare
Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials
#fix Material index remapping was part of if-clause where it shouldn't be
#jira UE-23827
Static Mesh Merge tool, failed to combine physics data if using complex
#fix Required copying the SectionInfoMap from source static meshes
HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes
#fix had to re-order function calls
#jira UE-28316
#rb James.Golding
Change 2927535 on 2016/03/30 by Ori.Cohen
Make sub-stepping run on game thread
#JIRA UE-24011
#rb Gil.Gribb
Change 2927537 on 2016/03/30 by Jurre.deBaare
Warning message when HLOD mesh > 65536 vertices
#jira UE-22365
#fix added messages when building proxy mesh
Change 2927691 on 2016/03/30 by Jeff.Farris
Fixed potential PlayerState leak (UE-22700)
Change 2927692 on 2016/03/30 by Lina.Halper
Allow it to select any name they want other than just restrict to what we have.
- I think it may not be the best solution but with current widget built, you can't even clear name, which is problem.
- Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there.
- I think we should just allow them to choose if they don't like it but with suggestions.
#rb: Ori.Cohen
#jira UE-27786
#code review: Benn.Gallagher
Change 2927853 on 2016/03/30 by Lina.Halper
[CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
|
|
|
void FSoundCueGraphConnectionDrawingPolicy::Draw(TMap<TSharedRef<SWidget>, FArrangedWidget>& InPinGeometries, FArrangedChildren& ArrangedNodes)
|
2014-11-14 18:23:41 -05:00
|
|
|
{
|
|
|
|
|
// Build the execution roadmap (also populates execution times)
|
|
|
|
|
BuildAudioFlowRoadmap();
|
|
|
|
|
|
|
|
|
|
// Draw everything
|
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2899855 on 2016/03/08 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785
Change 2926689 on 2016/03/29 by Jeff.Farris
AAIController::SetFocus() will now implicitly clear any location focus at the same priority.
UE-27975
#rb john.abercrombie
Change 2926690 on 2016/03/29 by Jeff.Farris
Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106)
Change 2926691 on 2016/03/29 by mason.seay
Content for testing collision on scaled components
Change 2926692 on 2016/03/29 by Jeff.Farris
- FixupDeltaSeconds now considers time dilation when clamping.
- Acceptable range for time dilation values is now a config parameter on WorldSettings
- Acceptable range for undilated frame times is now a config parameter on WorldSettings
(UE-27815)
#rb marc.audy
Change 2926711 on 2016/03/29 by Ori.Cohen
Fix constraint rendering when scaling a cosntraint actor
#JIRA UE-28691, UE-28700
#rb Lina.Halper
Change 2926745 on 2016/03/29 by Lukasz.Furman
navigation filters can now be instantiated per querier - usually AI agent
required for FORT-21372
Change 2926789 on 2016/03/29 by Ori.Cohen
Downgrade check to ensure for 2d physics during a hard shutdown
#rb Michael.Noland
Change 2926859 on 2016/03/29 by Ori.Cohen
Fix red herring warnings of not locking physx scenes during hard shutdown.
#JIRA UE-28747
#rb Michael.Noland
Change 2927444 on 2016/03/30 by Thomas.Sarkanen
Fixed Blueprint compiler errors when resetting timer handles
Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint.
Corrected a left-over formatting oversight when converting a FTimerHandle to a string.
Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version.
#rb Maciej.Mroz (and a few others!)
#jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite
Change 2927520 on 2016/03/30 by Jurre.deBaare
Should not allow skeletal mesh components mobility to be set to static, but detach instead
#fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component
#jira UE-26364
Change 2927533 on 2016/03/30 by Jurre.deBaare
Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials
#fix Material index remapping was part of if-clause where it shouldn't be
#jira UE-23827
Static Mesh Merge tool, failed to combine physics data if using complex
#fix Required copying the SectionInfoMap from source static meshes
HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes
#fix had to re-order function calls
#jira UE-28316
#rb James.Golding
Change 2927535 on 2016/03/30 by Ori.Cohen
Make sub-stepping run on game thread
#JIRA UE-24011
#rb Gil.Gribb
Change 2927537 on 2016/03/30 by Jurre.deBaare
Warning message when HLOD mesh > 65536 vertices
#jira UE-22365
#fix added messages when building proxy mesh
Change 2927691 on 2016/03/30 by Jeff.Farris
Fixed potential PlayerState leak (UE-22700)
Change 2927692 on 2016/03/30 by Lina.Halper
Allow it to select any name they want other than just restrict to what we have.
- I think it may not be the best solution but with current widget built, you can't even clear name, which is problem.
- Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there.
- I think we should just allow them to choose if they don't like it but with suggestions.
#rb: Ori.Cohen
#jira UE-27786
#code review: Benn.Gallagher
Change 2927853 on 2016/03/30 by Lina.Halper
[CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
|
|
|
FConnectionDrawingPolicy::Draw(InPinGeometries, ArrangedNodes);
|
2014-11-14 18:23:41 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FSoundCueGraphConnectionDrawingPolicy::BuildAudioFlowRoadmap()
|
|
|
|
|
{
|
2015-03-12 12:59:33 -04:00
|
|
|
UAudioComponent* PreviewAudioComponent = GEditor->GetPreviewAudioComponent();
|
2015-03-13 10:59:45 -04:00
|
|
|
FAudioDevice* AudioDevice = PreviewAudioComponent ? PreviewAudioComponent->GetAudioDevice() : nullptr;
|
2014-11-14 18:23:41 -05:00
|
|
|
|
|
|
|
|
if (AudioDevice)
|
|
|
|
|
{
|
|
|
|
|
USoundCueGraph* SoundCueGraph = CastChecked<USoundCueGraph>(GraphObj);
|
|
|
|
|
USoundCue* SoundCue = SoundCueGraph->GetSoundCue();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (PreviewAudioComponent && PreviewAudioComponent->IsPlaying() && PreviewAudioComponent->Sound == SoundCue)
|
|
|
|
|
{
|
|
|
|
|
TArray<FWaveInstance*> WaveInstances;
|
|
|
|
|
const int32 FirstActiveIndex = AudioDevice->GetSortedActiveWaveInstances(WaveInstances, ESortedActiveWaveGetType::QueryOnly);
|
|
|
|
|
|
|
|
|
|
// Run through the active instances and cull out anything that isn't related to this graph
|
|
|
|
|
if (FirstActiveIndex > 0)
|
|
|
|
|
{
|
|
|
|
|
WaveInstances.RemoveAt(0, FirstActiveIndex + 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (int32 WaveIndex = WaveInstances.Num() - 1; WaveIndex >= 0 ; --WaveIndex)
|
|
|
|
|
{
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3038004)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3021479 on 2016/06/21 by Marc.Audy
Fix child actor properties set in the parent's construction script from being wiped out (4.12)
#jira UE-31956
Change 3021703 on 2016/06/21 by Marc.Audy
Fix crash due to copying properties to registered components and then reregistering them. (4.12)
#jira UE-31973
Change 3022105 on 2016/06/21 by Jeremy.Ernst
-new test assets for James for PSD node
Change 3022621 on 2016/06/22 by James.Golding
Add AnimBP for testing PSD
Change 3022622 on 2016/06/22 by James.Golding
Only restrict anim asset selection for UAnimGraphNode_AssetPlayerBase derived nodes
Change 3022656 on 2016/06/22 by James.Golding
UE-30537 Fix solid collision geom drawing not working when mirrored
Change 3022657 on 2016/06/22 by James.Golding
Don't crash in FAnimGraphNodeDetails::OnShouldFilterAnimAsset if AnimAsset doesn't have Skeleton asset registry tag (shouldn't happen, but shouldn't crash)
Change 3022663 on 2016/06/22 by James.Golding
UE-31283 Additional extensibility for anim and physics
PR #2434: Morpheme integration changes (Contributed by NaturalMotionTechnology)
Change 3022683 on 2016/06/22 by James.Golding
- Change OrientationDriver to always use PoseAsset for target poses
- Remove NumPoses from PoseAsset and use GetAssetRegistryTags instead
Change 3022891 on 2016/06/22 by mason.seay
Test asset for component hit
Change 3023203 on 2016/06/22 by mason.seay
Updated map to use more noticeable sound assets
Change 3023335 on 2016/06/22 by Marc.Audy
Use AddReferencedObjects instead of iterating array manuallly
Change 3023351 on 2016/06/22 by Ori.Cohen
Fix the case where physics hit events were passing the wrong component's bone info to the hit event.
#JIRA UE-32376
Change 3023368 on 2016/06/22 by mason.seay
Renamed actors in World Outliner
Change 3023425 on 2016/06/22 by mason.seay
Moved asset to new folder and fixed deprecated node
Change 3023429 on 2016/06/22 by mason.seay
Disabled collision on proc mesh
Change 3023553 on 2016/06/22 by Jon.Nabozny
Fix issue where MaxAngularVelocity resets to default on UPrimitiveComponent->BodyInstance. Replicated from CL 3009477.
#JIRA UE-31670
Change 3024669 on 2016/06/23 by James.Golding
Update PSD test assets (removing unused)
Change 3024864 on 2016/06/23 by Marc.Audy
Audio Threading!
Change 3024877 on 2016/06/23 by James.Golding
PR #2375: Allow the creation of custom IStreamingManager (Contributed by bozaro)
Change 3024880 on 2016/06/23 by James.Golding
PR #2209: Fix UGameplayStatics::*Game*Slot documentation (Contributed by Lectem)
Change 3024939 on 2016/06/23 by James.Golding
- Add SwingOnly options to OrientationDriver
- Move EBoneAxis from AnimNode_RotationMultiplier.h to AnimTypes.h
- Calculate gaussian radius per pose, not globally
Change 3024940 on 2016/06/23 by James.Golding
PoseAsset editor improvements
- Replace pose edit box with inline-editable style (with validation)
- Add filter highlight
- Show curve values for each pose when selected
- Add different background for curve list
- Filter box only searches pose list, moved location to indicate that
Change 3024949 on 2016/06/23 by James.Golding
Small update to PSD test AnimBP
Change 3025002 on 2016/06/23 by Ori.Cohen
Fix the case where fixed frame rate combined with t.maxfps would lead to negative delta time. We now take the min of t.maxfps and fixed frame rate.
#JIRA UE-32219
Change 3025214 on 2016/06/23 by mason.seay
Updated Character Movement Map
Change 3025319 on 2016/06/23 by Ori.Cohen
Make sure changing skeletal mesh updates the bone index on body instances already created.
Change 3025435 on 2016/06/23 by Ori.Cohen
Fix welded bodies not updating their collision profile when calling SetCollisionProfile
#JIRA UE-32394
Change 3025581 on 2016/06/23 by mason.seay
Test asset for slicing procedural mesh
Change 3026483 on 2016/06/24 by Marc.Audy
Don't reschedule multiple times tick functions used as prerequisites
#jira UE-32414
Change 3026498 on 2016/06/24 by mason.seay
Updating blueprint for bug repro
Change 3026547 on 2016/06/24 by Thomas.Sarkanen
Fixed crash in FKismetDebugUtilities::GetWatchText()
Crash reported by this UDN: https://udn.unrealengine.com/questions/300110/crash-in-kismetdebugutilities-when-printing-watchp.html
Change 3026598 on 2016/06/24 by James.Golding
Double clicking on poses now toggles them between 1.0 and 0.0 strength
Change 3026768 on 2016/06/24 by Marc.Audy
Change up suspend audio thread cvar sink warning about disabled threading to avoid inappropriate warnings
#jira UE-32468
Change 3026802 on 2016/06/24 by Lina.Halper
#Pose Asset work
# additive blending change : additive scale is saved to [targetscale/sourcescale - 1] where it used to be [targetscale/sourcescale] since blending doesn't work with it
- Blending should work once we save to [targetscale/sourcescale - 1] as normal - i.e. if you blend 0.3, it should not shrink the mesh because you applyed additive to 0.3
- When apply the scale to base, it should multiply [additive scale + 1 ] where additive scale is [targetscale/sourcescale - 1]
- Changed FTransform::Blend to FTransform::Lerp since it's literally just Lerp. Name Blend should be used for Accumulate but changing the name now is dangerous, so I'm keeping Accumulate but changed Blend to Lerp
# pose asset preview fix
- made sure it adds to curve, so you don't have to use delegate to apply
- PreviewOverride is now added to output curve, so we don't have to apply that curve later
- only reason of anim instance delegate is now for normal anim blueprint.
#pose asset change
- Curve extraction happens with ExtractContext, the output curve is stricly output curve
- Pose Asset supports Shrink now, but only shrink if full pose
- Added PoseHandler to handle most of common stuff between different pose nodes
- Still have to work on how to update pose asset - wip
- todo: clean up single node player to handle pose asset in a function
#code review:Martin.Wilson, James.Golding
Change 3026978 on 2016/06/24 by Lina.Halper
- Delete DrivePose Curve type
- Renamed TriggerEvent to DriveAttribute for consistency
- Replaced drive pose to drive attribute
- right now it can't have 0 curve type flags, so everything is DriveAttribute
#code review: James.Golding, Martin.Wilson
Change 3027113 on 2016/06/24 by mason.seay
Test Pose Assets
Change 3027454 on 2016/06/24 by Aaron.McLeran
UE-32492 Fix for cleaning up xaudio2 source voices and xaudio2 buffers if the source fails to initialize
https://answers.unrealengine.com/questions/441080/audio-crash.html
http://crashreporter/Crashes/Show/5689478
Change 3027519 on 2016/06/24 by Lina.Halper
Reverted FTransform name change as that causes compile errors due to lack of deprecated messages
- not worth to keep the old functions and add new one
#code review: Martin.Wilson
Change 3027887 on 2016/06/25 by Lina.Halper
Fix clang build warning
Change 3028703 on 2016/06/27 by Lukasz.Furman
gameplay debugger config improvements, categories and extensions can now be toggled while PIE/simulate is active
#ue4
Change 3028792 on 2016/06/27 by Lukasz.Furman
compilation fix for gameplay debugger
Change 3028950 on 2016/06/27 by Lukasz.Furman
compilation fix for gameplay debugger
Change 3029003 on 2016/06/27 by Ori.Cohen
Added PhysicalAnimation component that allows us to physically drive skeletal mesh from animation
Change 3029019 on 2016/06/27 by Lina.Halper
Update pose from source asset
Change 3029094 on 2016/06/27 by Marc.Audy
If Player->StartSpot is null disregard ShouldSpawnAtStartPoint returned true.
Change 3029308 on 2016/06/27 by Jeremy.Ernst
-adding test animation for PSD node. Has morphs built in to compare against driver result
Change 3029372 on 2016/06/27 by Marc.Audy
Fix compile error after merge
Also just fix the logic to be explicit rather than using suppression for static analysis warning
Change 3029493 on 2016/06/27 by Ori.Cohen
Move PhysicsAsset.h out of public engine header.
Change 3029550 on 2016/06/27 by Lina.Halper
Fix crash with Nan when additive blending of poses\
Change 3029659 on 2016/06/27 by Aaron.McLeran
Adding new minor feature to add new concurrency mode
- stop by lowest priorty but prevent new rather than stop oldest.
Change 3029673 on 2016/06/27 by Aaron.McLeran
#JIRA FORT-24936 Disable EQ on AMD machines since it is causing them to stall and starve other important threads. This is only a temporary solution until a better one is found.
Implementation in CL 3024124
Change 3030470 on 2016/06/28 by Ori.Cohen
Fix OnConstraintBrokenWrapper being accidently wrapped with if WITH_CLOTHING
#JIRA UE-32561
Change 3030586 on 2016/06/28 by Lina.Halper
Preview curve fix from anim curve viewer
#code review: Martin.Wilson
Change 3031054 on 2016/06/28 by Aaron.McLeran
#jira UE-32566 Incorrectly copied CL 3024124 to Dev-Framework
Change 3031535 on 2016/06/28 by mason.seay
Re-saving concurrency asset
Change 3031691 on 2016/06/28 by Marc.Audy
Fix stat sounds not turning on correctly unless a sort was specified
#jira UE-32597
Change 3031883 on 2016/06/28 by Zak.Middleton
#ue4 - Prevent bNotifyJumpApex from being editable, and clean up comments.
Change 3031898 on 2016/06/28 by Zak.Middleton
#ue4 - Fix mesh smoothing on clients popping briefly when crouching. This was due to the change in 4.12 where we started smoothing Z location rather than always zeroing it (in certain movement modes).
#udn https://udn.unrealengine.com/questions/300494/networked-crouching-jitter.html
Change 3032539 on 2016/06/29 by Marc.Audy
Don't destroy AudioDevices before draining audio commands and stopping audio thread
#jira UE-32611
Change 3032633 on 2016/06/29 by Marc.Audy
In the same way that SpawnActor doesn't work during world teardown, don't allow new components to be added which could introduce recursion within the destroy logic.
#jira UE-32574
Change 3032644 on 2016/06/29 by Lina.Halper
- Fixed issue where pose node evaluator doesn't show up in the menu with asset
- it showed twice of pose node (none) - jira UE-32358
- Fixed issue where anim evaluator/pose asset by name/blend space evaluator failed to display assets properly
- jira UE-32359
- support create pose menu from create asset - UE-32596
- added create pose asset from current pose
- update source should refresh list - UE-32576
- fixed blendspace to be in the blendspaces category
Change 3032847 on 2016/06/29 by Tom.Looman
Added PredictProjectilePath and SuggestProjectileVelocity_MediumArc utilities to UGameplayStatics.
Updated SuggestProjectileVelocity to avoid floating point precision errors on gravity value comparison.
#jira UE-32103
Change 3033124 on 2016/06/29 by Jon.Nabozny
Fix issue where InstancedStaticMeshComponent InstanceBodies don't move when the mesh is updated.
#JIRA: UE-13673
Change 3033155 on 2016/06/29 by Lina.Halper
- montage is playing and montage is pure
- made montage parameter to be mostly const (except play), and made it consistently pointer
Change 3033157 on 2016/06/29 by Lina.Halper
Check in missing file
Change 3033456 on 2016/06/29 by Lukasz.Furman
fixed path following changes broken by merge
#ue4
Change 3033956 on 2016/06/30 by bruce.nesbit
PR #2483: Fix/Improvment Move Component To Rotation (Contributed by Nachtmahr87)
#test PIE
Change 3034019 on 2016/06/30 by Benn.Gallagher
Anim blueprint sub-instances, allowing anim blueprints to run within anim blueprints and expose parameters back to the "parent" instance.
Caveats:
- Slots and state machine names are unique and boxed per instance, meaning playing a montage on a slot will only affect slots in the outermost instance and state machine getters are local to their instance.
#jira UEFW-1
Change 3034085 on 2016/06/30 by Benn.Gallagher
Missed LOCTEXT_NAMESPACE undefs from the subinstance checkin, for some reason doesn't get caught on windows, likely how the unity files are stuck together.
Change 3034162 on 2016/06/30 by Martin.Wilson
Refactor bone reference widget so that selection tree can be used seperately
Change 3034205 on 2016/06/30 by Lina.Halper
#ANIM: fix issue with addiitve blending with non-full weight applying wrong scale
#jira: UE-32643, UE-32593
Change 3034339 on 2016/06/30 by James.Golding
Moving functionality from Skeleton Curves tab into Anim Curve Viewer tab
Change 3034426 on 2016/06/30 by Martin.Wilson
CIS Fix
Change 3034629 on 2016/06/30 by Lina.Halper
Support non-zero curves to be stippred out upon importing
Change 3035863 on 2016/07/01 by Marc.Audy
When pasting components in to a blueprint, make the relative position and rotation of the root 0,0,0
#jira UE-31344
Change 3035916 on 2016/07/01 by Jon.Nabozny
Fixed PaperGroupedSprite doesn't update InstanceBodies data in physics. This change is related to CL-3033124
Change 3035973 on 2016/07/01 by Lukasz.Furman
fixed hash function for FRecastDebugPathfindingNode
#ue4
Change 3036024 on 2016/07/01 by Zak.Middleton
#ue4 - Avoid filling in array in AActor::FixupNativeActorComponents() unless we detect a null scene component. Avoid copying TWeakObjectPtr in ValidateDeferredTransformCache().
Change 3036157 on 2016/07/01 by Marc.Audy
Protect against running commands on game thread when the audio device has already been freed
#jira UE-32611
Change 3036178 on 2016/07/01 by Marc.Audy
Don't bitpack the gamethread specific boolean.
Change 3036906 on 2016/07/04 by bruce.nesbit
Fixed a typo in HasDefaultBuildSettings - (bCompi8leLeanAndMeanUE should be bCompileLeanAndMeanUE)
#tests Compiled
Change 3036929 on 2016/07/04 by James.Golding
UE-32405 Label Rotator components X/Y/Z instead of Roll/Pitch/Yaw
Change 3036930 on 2016/07/04 by James.Golding
UE-30414 Move constraint warnings to Message Log
Change 3036931 on 2016/07/04 by James.Golding
PR #2427: SkeletalMeshMerge now can transform the UVs of the source meshes. (Contributed by Bogustus)
Change 3037123 on 2016/07/04 by Ori.Cohen
Added physical animation preview in PhAT as well as physical animation profiles.
Change 3037420 on 2016/07/05 by Jurre.deBaare
Moved BodySetup_DEPRECATED out of WITH_EDITORONLY_DATA since it's being used in postload (fixes shipping builds)
#jira UE-32771
Change 3037702 on 2016/07/05 by Thomas.Sarkanen
Copying change 3037701 from Release-4.12:
Fixed crash when viewing uncompressed animation
Made sure that objects required by the animation evaluation are set up when performing game-thread side work in the editor.
#jira UE-32715 - Crash when selecting "show" > "uncompressed animation" in Persona
Change 3037837 on 2016/07/05 by Marc.Audy
sound stats will now still be displayed when creating a new audio device
#jira UE-32743
[CL 3038035 by Marc Audy in Main branch]
2016-07-05 14:25:57 -04:00
|
|
|
UAudioComponent* WaveInstanceAudioComponent = UAudioComponent::GetAudioComponentFromID(WaveInstances[WaveIndex]->ActiveSound->GetAudioComponentID());
|
2014-11-14 18:23:41 -05:00
|
|
|
if (WaveInstanceAudioComponent != PreviewAudioComponent)
|
|
|
|
|
{
|
|
|
|
|
WaveInstances.RemoveAtSwap(WaveIndex);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (int32 WaveIndex = 0; WaveIndex < WaveInstances.Num(); ++WaveIndex)
|
|
|
|
|
{
|
|
|
|
|
TArray<USoundNode*> PathToWaveInstance;
|
|
|
|
|
if (SoundCue->FindPathToNode(WaveInstances[WaveIndex]->WaveInstanceHash, PathToWaveInstance))
|
|
|
|
|
{
|
|
|
|
|
TArray<USoundCueGraphNode_Root*> RootNode;
|
|
|
|
|
TArray<UEdGraphNode*> GraphNodes;
|
|
|
|
|
SoundCueGraph->GetNodesOfClass<USoundCueGraphNode_Root>(RootNode);
|
|
|
|
|
check(RootNode.Num() == 1);
|
|
|
|
|
GraphNodes.Add(RootNode[0]);
|
|
|
|
|
|
|
|
|
|
TArray<double> NodeTimes;
|
|
|
|
|
NodeTimes.Add(FApp::GetCurrentTime()); // Time for the root node
|
|
|
|
|
|
|
|
|
|
for (int32 i = 0; i < PathToWaveInstance.Num(); ++i)
|
|
|
|
|
{
|
|
|
|
|
const double ObservationTime = FApp::GetCurrentTime() + 1.f;
|
|
|
|
|
|
|
|
|
|
NodeTimes.Add(ObservationTime);
|
|
|
|
|
GraphNodes.Add(PathToWaveInstance[i]->GraphNode);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Record the unique node->node pairings, keeping only the most recent times for each pairing
|
|
|
|
|
for (int32 i = GraphNodes.Num() - 1; i >= 1; --i)
|
|
|
|
|
{
|
|
|
|
|
UEdGraphNode* CurNode = GraphNodes[i];
|
|
|
|
|
double CurNodeTime = NodeTimes[i];
|
|
|
|
|
UEdGraphNode* NextNode = GraphNodes[i-1];
|
|
|
|
|
double NextNodeTime = NodeTimes[i-1];
|
|
|
|
|
|
|
|
|
|
FExecPairingMap& Predecessors = PredecessorNodes.FindOrAdd(NextNode);
|
|
|
|
|
|
|
|
|
|
// Update the timings if this is a more recent pairing
|
|
|
|
|
FTimePair& Timings = Predecessors.FindOrAdd(CurNode);
|
|
|
|
|
if (Timings.ThisExecTime < NextNodeTime)
|
|
|
|
|
{
|
|
|
|
|
Timings.PredExecTime = CurNodeTime;
|
|
|
|
|
Timings.ThisExecTime = NextNodeTime;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Give specific editor modes a chance to highlight this connection or darken non-interesting connections
|
2015-01-10 00:31:36 -05:00
|
|
|
void FSoundCueGraphConnectionDrawingPolicy::DetermineWiringStyle(UEdGraphPin* OutputPin, UEdGraphPin* InputPin, /*inout*/ FConnectionParams& Params)
|
2014-11-14 18:23:41 -05:00
|
|
|
{
|
2015-03-18 21:37:27 -04:00
|
|
|
Params.AssociatedPin1 = OutputPin;
|
|
|
|
|
Params.AssociatedPin2 = InputPin;
|
|
|
|
|
|
2014-11-14 18:23:41 -05:00
|
|
|
// Get the schema and grab the default color from it
|
|
|
|
|
check(OutputPin);
|
|
|
|
|
check(GraphObj);
|
|
|
|
|
const UEdGraphSchema* Schema = GraphObj->GetSchema();
|
|
|
|
|
|
2015-01-10 00:31:36 -05:00
|
|
|
Params.WireColor = Schema->GetPinTypeColor(OutputPin->PinType);
|
2014-11-14 18:23:41 -05:00
|
|
|
|
|
|
|
|
if (InputPin == NULL)
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool bExecuted = false;
|
|
|
|
|
|
|
|
|
|
// Run thru the predecessors, and on
|
|
|
|
|
if (FExecPairingMap* PredecessorMap = PredecessorNodes.Find(InputPin->GetOwningNode()))
|
|
|
|
|
{
|
|
|
|
|
if (FTimePair* Times = PredecessorMap->Find(OutputPin->GetOwningNode()))
|
|
|
|
|
{
|
|
|
|
|
bExecuted = true;
|
|
|
|
|
|
2015-01-10 00:31:36 -05:00
|
|
|
Params.WireThickness = ActiveWireThickness;
|
|
|
|
|
Params.WireColor = ActiveColor;
|
2014-11-14 18:23:41 -05:00
|
|
|
|
2015-01-10 00:31:36 -05:00
|
|
|
Params.bDrawBubbles = true;
|
2014-11-14 18:23:41 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!bExecuted)
|
|
|
|
|
{
|
|
|
|
|
// It's not followed, fade it and keep it thin
|
2015-01-10 00:31:36 -05:00
|
|
|
Params.WireColor = InactiveColor;
|
|
|
|
|
Params.WireThickness = InactiveWireThickness;
|
2014-11-14 18:23:41 -05:00
|
|
|
}
|
|
|
|
|
}
|