Files
UnrealEngineUWP/Engine/Source/Editor/CommonMenuExtensions/Private/CommonMenuExtensionsModule.cpp

35 lines
1.3 KiB
C++
Raw Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3759273) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3722141 by Aaron.McLeran #jira UE-51670 Added ability to split multi-channel mic input into separate USoundWave assets in recording manager. - Will allow for sequencer recorder to record multiple audio streams, one for each actor Change 3726096 by Ori.Cohen Fixed welded bodies with negative scale not using the mirrored convex hull #jira UE-51647 Change 3726233 by Ori.Cohen Make sure RT doesn't try to create a physics mesh when debug drawing #jira UE-51721 Change 3726254 by Aaron.McLeran Fixing typo in GetCustomSpatializationSettingsClass interface Change 3728295 by Ori.Cohen Fix incorrect lock upgrading Change 3728516 by Benn.Gallagher Fix for crash loading reparented animation blueprints that do not have an animgraph but are no longer child blueprints. #jira UE-51414 Change 3728522 by Benn.Gallagher Added mesh paint settings to per-user settings and added preview vertex size so it's configurable by the user for use on differently sized meshes. #jira UE-50087 Change 3728853 by Benn.Gallagher [NvCloth] Fix sphere collision detection issue when clothing bounds are (almost) flat. Change 3729031 by Ethan.Geller #jira UEAP-316: Improvements to the audio side for our Opus VOIP implementation. Change 3729910 by Benn.Gallagher Fix for crashes editing destructible meshes caused by stale render data Change 3729921 by James.Golding - Remove 'bDisabled' flag from SkeletalMesh render data sections, use per-component ShowMaterialSection to hide sections instead - Renamed flag on source data (FSkelMeshSection) to bLegacyClothingSection_DEPRECATED, to fix up old clothing assets - Expose ShowMaterialSection to BP, added ShowAllMaterialSections and IsMaterialSectionShown as well - Move SelectedEditorSection and SelectedEditorMaterial from USkeletalMesh to USkinnedMeshComponent, made private, added accessors - Made SectionIndexPreview and MaterialIndexPreview in SkinnedMeshComponent private, added accessors - Remove unused ChunkIndexPreview from USkinnedMeshComponent and SelectedClothingSection from USkeletalMesh - Move SectionsDisplayMode from UDebugSkelMeshComponent to SAnimationEditorViewport #jira UEAP-167 Change 3730054 by Martin.Wilson Live Link: Add ability for sources to define their own settings Change 3730134 by Jurre.deBaare Editor crashes when opening animcompression setting on an alembic file #jira UE-51840 #fix ensure that anim sequence actually contains a compression scheme, and set scheme during ABC import #misc cleaned up comment Change 3730428 by Thomas.Sarkanen Fix copy/paste in the physics asset editor When constraint data was being serialized the default profile was being substituted, however it wasnt being updated for all non-detials panel operations. Added a UpdateProfileInstance() to propgate the changes correctly for copy/paste, axis cycling and toggling. Also allow multi-paste of constraints/bodies. #jira UE-51803 - Copy/paste doesn't work correctly in PhAT Change 3730464 by Thomas.Sarkanen Fixed copy/paste not working when the skeleton tree has focus The skeleton tree was absorbing the command binding because socket copy/paste wasnt not checking whether sockets were selected. #jira UE-51803 - Copy/paste doesn't work correctly in PhAT Change 3730511 by Jurre.deBaare Moving over fix from FN-Staging for [CrashReport] UE4Editor_Engine!FColorVertexBuffer::GetVertexColors() [colorvertexbuffer.cpp:313] #jira UE-48988 Change 3730685 by Benn.Gallagher Fix for sequencer crash when toggling spawnable for an actor containing a skeletal mesh component. Caused by CPFUO adding entries into the subinstance array while the component was unregistered. #jira UE-51508 Change 3731560 by Aaron.McLeran Removing gaurd on spatialization plugin settings and renaming enumerations Change 3731714 by Ori.Cohen Added the ability to profile scene query hitches. Change 3731725 by Ori.Cohen Change scene query hitch threshold to 50us by default Change 3731770 by Ethan.Geller Fix signed/unsigned comparison. Change 3731777 by Ethan.Geller Suppress static analysis warning. Change 3732145 by Thomas.Sarkanen [Duplicated from 4.18.1] Fixed crash when simulating in the physics asset editor, dragging with Ctrl+RMB and then clicking LMB Also fixed a selection issue that was exposed when this crash was fixed, #jira UE-51597 - [CrashReport] Crash in PHAT on LeftMouse click while moving ragdoll asset during Simulate Change 3732176 by Thomas.Sarkanen Fixed hang when selecting all bodies or constraints in a physics asset Implements a better fix for CL 3721129 #jira UE-51626 - Very long hang occurs when selecting all bodies in a physics asset Change 3732177 by Thomas.Sarkanen Fix crash when pasting properties in Physics Asset Editor Makes sure that the tree is refreshed when underlying data changes, so we dont access stuff out of range. #jira UE-51806 - Editor crashes when pasting properties of a body to multiple bodies Change 3732492 by Martin.Wilson Fix for ensure when compressing an animation whos skeleton has been switch due to skeletal mesh merging #Jira UE-51794 Change 3732672 by Thomas.Sarkanen Refactor view menus in animation editors Moves show menu and buffer visualizations into a new CommonMenuExtensions module. Reorders viewport menus in Persona-based editors so the "Show" menu is similar to the level editor's menu of the same name. All character-specific stuff is now in a "Character" menu. Original changes by Jonathan.Poncelet #jira UE-41903 - Add relevant options from Level viewport Show menu to Anim tools viewports Change 3732860 by Thomas.Sarkanen Fix CIS errors/warnings Change 3732877 by Thomas.Sarkanen Fix missing Physics menu Merge error on my part Change 3733113 by Ori.Cohen Fix CIS Change 3734859 by Thomas.Sarkanen Fix crash when opening a physics asset that uses a preview mesh with no skeleton #jira UE-51916 - [CrashReport] UE4Editor_CoreUObject!FWeakObjectPtr::Get() [weakobjectptr.cpp:81] Change 3736693 by Ethan.Geller Added ability for submixes to define their own channel format. Written by aaron.mcleran Change 3737943 by James.Golding Fix crash when right-clicking during section selection in skel mesh tools #jira UE-51873 Change 3738337 by Benn.Gallagher Fix for crash switching between clothing assets with a gradient tool that has cached start/end indices. #jira UE-51921 Change 3738404 by Lina.Halper Add comment for bImportBoneTrack option in FBX importer Change 3738816 by Benn.Gallagher Added "Anim Drive" to clothing assets and added runtime interaction for simulations (Merged from Siren) Change 3738960 by Ethan.Geller Fix Linux compiler errors for implicit enum casting Change 3739214 by Lina.Halper - Removed unnecessary Initialize - Make sure invalidate the other part if not used (socket->bone or bone->socket) #jira: UE-51931 Change 3739215 by Lina.Halper compile error - added one more ) when pasted to the other line Change 3739442 by Lina.Halper pose asset crash when skeleton changes #jira: UE-52036 Change 3739795 by Ethan.Geller fix linux build with implicit enum class casts, pt 2 Change 3740553 by James.Golding Sweeps with an initial overlap now put more useful info (from PhysX) into HitResult::ImpactPoint #jira UE-47566 Change 3740560 by James.Golding - Don't rebuild render data on SkeletalMesh interactive property changes - Remove unnecessary render resource release in SkeletalMesh PreEditChange #jira UE-51652 Change 3740562 by James.Golding Extensibility improvements to PhysicsAssets (from NVIDIA) Change 3740563 by James.Golding PR #4066: Physical Animation Crash fix - Prevent crashing if the scene has already been removed or index was invalid. (Contributed by DSDambuster) #jira UE-50546 Change 3740564 by James.Golding PR #4175: Added functions to SpringArmComponent to get relevant status of the Collision Test (Contributed by alexformosoc) #jira UE-51761 Change 3740587 by Benn.Gallagher CIS fixes for non-cloth platforms and initialization order fix Change 3740658 by Thomas.Sarkanen Update cloth appropriately in the physics asset editor When moving primitives, just update the underlying extracted collision - we dont reset the entire simulation. Reset simulation when making more 'major' potential changes (adding/removing collision etc.) Optionally reset cloth when simulation starts/stops in the physics asset editor #jira UE-50949 - Phat Editor with cloth collisions #jira UE-48779 - Ability to reset clothing during physics simulation #jira UE-48778 - Moving collision in Physics editor doesn't interact with cloth Change 3743354 by Benn.Gallagher CIS Fix Change 3743419 by Thomas.Sarkanen Preview buttons are now present where applicable Preview mesh button reordered to be consistent with other anim editors. Preview animation re-instated where applicable. Also fixed skeleton tree icons hiding when bones are not relevant - this was confusing depending on bone layout #jira UE-50894 - Animation Editors - Include Preview Mesh and Animation Buttons Change 3743529 by Thomas.Sarkanen Moved constraint and physical anim profile indicators to the top of the details panel Indicators now show assignment status. #jira UE-50895 - Constraint Profiles requests Change 3743604 by Jurre.deBaare Duplicating from 4.18.1: [CrashReport] UE4Editor_Core!FMath::ComputeBaryCentric2D() [unrealmath.cpp:1951] #fix pre-emptive early out on the collinear test, and found other minor bug with bounds test as well #jira UE-51917 Change 3743757 by Lina.Halper Adding more ensure to detect NaN Change 3743791 by Ori.Cohen Fix CIS and stack size issues Change 3744008 by Benn.Gallagher Gravity override support for clothing interactor. #jira UE-51014 Change 3744439 by Michael.Karambelas Updating and investigating CableActor automation tests Change 3744566 by Martin.Wilson Possible fix for very rare anim corruption (missing raw data). Moved Super::PostLoad call above track verfiy to make sure skeleton is loaded. #jira UE-49335 Change 3745963 by Martin.Wilson Fix ensure being hit because users could turn on both "Use Adaptive Error" and "Use Adaptive Error 2" at the same time #Jira UE-52044 Change 3748585 by Aaron.McLeran Fixing crash when loading editor with synth components. Change 3749071 by Aaron.McLeran Fixing ambisonics submix format Change 3749969 by Danny.Bouimad Updating TM-AnimPhys to be more performant on Switch Change 3750103 by Danny.Bouimad Checking in automated test to cover Debug Show Collision, Visibility Collision and Player Collision. (Disabled currently due to active bug causing incorrect ground truths to be generated UE-52052) Change 3754465 by Ethan.Geller Fixing panning in audio mixer after submix format feature Change 3755637 by Lina.Halper Back out changelist 3739214 - still add back invalidation #jira: UE-52159 Change 3756385 by Lina.Halper - Adding ground truth for the cable component test map - Disabled first test as it has BP none access warning #jira: UE-52370 Change 3756707 by Ethan.Geller fix potential mem leak in mixer source Change 3757148 by Aaron.McLeran Fixing surround sound bugs due to recent changes to submix format. Change 3757583 by Aaron.McLeran Fix cook with synth component Change 3758477 by Danny.Bouimad Fixing Disabled cable actor test, checking in screenshots for a disabled test. Change 3758873 by Ethan.Geller #jira UE-52389 Remove assert on getting a hash for a unique net id. [CL 3759284 by Marc Audy in Main branch]
2017-11-15 16:13:28 -05:00
#include "CommonMenuExtensionsModule.h"
#include "BufferVisualizationMenuCommands.h"
#include "NaniteVisualizationMenuCommands.h"
Refactored Lumen visualization views and show flag in order to improve user experience. All Lumen visualization modes and show flags were moved into Lumen submenus for easier discovery. View modes were made exclusive (only one may be active at a time). Additonally exposed new view modes and show flags in order to easier debug and understand Lumen. Lit->Lumen Added Lit->Lumen submenu with 4 view modes - Lumen Scene, Lumen Reflection View, Lumen Surface Cache and Overview: * Lumen Scene - same as ShowFlags->VisualizeLumenScene. Visualizes Lumen scene representation in highest possible quality, with highest possible view distance * Lumen Reflection View - Lumen Scene, but with current reflections settings. Basically represents how things look in the reflections * Lumen Surface Cache - visualizes surface cache and marks with pink missing surface cache coverage * Overview - 3 Lumen view mode tiles, overlaid on top of normal view Show->Lumen Added Show->Lumen submenu with 6 flags, which allow to disable specific trace types (screen space, detail, global, far field), disable secondary bounces (radiosity) and disable Screen Space Directional Occlusion. Show->Visualize Removed �Lumen Scene� (replaced by Lit->Lumen->Lumen Scene view mode) and �Lumen Global Illumination� (replaced by r.Lumen.Visualize.IndirectDiffuse) from Advanced visualization modes are accessible through r.Lumen.Visualize.Mode, which overrides current Lit->Lumen-> settings. Misc changes: * Renamed VisualizeLumenScene* to LumenVisualize* * Moved shared visualize parameters to LumenVisualize.h * Lumen HWRT visualize now uses same ray footprint as SWRT visualize * Replaced HALF_WORLD_MAX with Lumen::MaxTracingEndDistanceFromCamera and Lumen::MaxTraceDistance in preparation for the LWC WORLD_MAX changes #rb Patrick.Kelly, Daniel.Wright #preflight 61e73339b56c33b8ecf753b2 #ROBOMERGE-AUTHOR: krzysztof.narkowicz #ROBOMERGE-SOURCE: CL 18658215 in //UE5/Release-5.0/... via CL 18658227 via CL 18658249 #ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592) [CL 18658268 by krzysztof narkowicz in ue5-main branch]
2022-01-19 10:11:35 -05:00
#include "LumenVisualizationMenuCommands.h"
#include "SubstrateVisualizationMenuCommands.h"
#include "GroomVisualizationMenuCommands.h"
#include "VirtualShadowMapVisualizationMenuCommands.h"
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3759273) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3722141 by Aaron.McLeran #jira UE-51670 Added ability to split multi-channel mic input into separate USoundWave assets in recording manager. - Will allow for sequencer recorder to record multiple audio streams, one for each actor Change 3726096 by Ori.Cohen Fixed welded bodies with negative scale not using the mirrored convex hull #jira UE-51647 Change 3726233 by Ori.Cohen Make sure RT doesn't try to create a physics mesh when debug drawing #jira UE-51721 Change 3726254 by Aaron.McLeran Fixing typo in GetCustomSpatializationSettingsClass interface Change 3728295 by Ori.Cohen Fix incorrect lock upgrading Change 3728516 by Benn.Gallagher Fix for crash loading reparented animation blueprints that do not have an animgraph but are no longer child blueprints. #jira UE-51414 Change 3728522 by Benn.Gallagher Added mesh paint settings to per-user settings and added preview vertex size so it's configurable by the user for use on differently sized meshes. #jira UE-50087 Change 3728853 by Benn.Gallagher [NvCloth] Fix sphere collision detection issue when clothing bounds are (almost) flat. Change 3729031 by Ethan.Geller #jira UEAP-316: Improvements to the audio side for our Opus VOIP implementation. Change 3729910 by Benn.Gallagher Fix for crashes editing destructible meshes caused by stale render data Change 3729921 by James.Golding - Remove 'bDisabled' flag from SkeletalMesh render data sections, use per-component ShowMaterialSection to hide sections instead - Renamed flag on source data (FSkelMeshSection) to bLegacyClothingSection_DEPRECATED, to fix up old clothing assets - Expose ShowMaterialSection to BP, added ShowAllMaterialSections and IsMaterialSectionShown as well - Move SelectedEditorSection and SelectedEditorMaterial from USkeletalMesh to USkinnedMeshComponent, made private, added accessors - Made SectionIndexPreview and MaterialIndexPreview in SkinnedMeshComponent private, added accessors - Remove unused ChunkIndexPreview from USkinnedMeshComponent and SelectedClothingSection from USkeletalMesh - Move SectionsDisplayMode from UDebugSkelMeshComponent to SAnimationEditorViewport #jira UEAP-167 Change 3730054 by Martin.Wilson Live Link: Add ability for sources to define their own settings Change 3730134 by Jurre.deBaare Editor crashes when opening animcompression setting on an alembic file #jira UE-51840 #fix ensure that anim sequence actually contains a compression scheme, and set scheme during ABC import #misc cleaned up comment Change 3730428 by Thomas.Sarkanen Fix copy/paste in the physics asset editor When constraint data was being serialized the default profile was being substituted, however it wasnt being updated for all non-detials panel operations. Added a UpdateProfileInstance() to propgate the changes correctly for copy/paste, axis cycling and toggling. Also allow multi-paste of constraints/bodies. #jira UE-51803 - Copy/paste doesn't work correctly in PhAT Change 3730464 by Thomas.Sarkanen Fixed copy/paste not working when the skeleton tree has focus The skeleton tree was absorbing the command binding because socket copy/paste wasnt not checking whether sockets were selected. #jira UE-51803 - Copy/paste doesn't work correctly in PhAT Change 3730511 by Jurre.deBaare Moving over fix from FN-Staging for [CrashReport] UE4Editor_Engine!FColorVertexBuffer::GetVertexColors() [colorvertexbuffer.cpp:313] #jira UE-48988 Change 3730685 by Benn.Gallagher Fix for sequencer crash when toggling spawnable for an actor containing a skeletal mesh component. Caused by CPFUO adding entries into the subinstance array while the component was unregistered. #jira UE-51508 Change 3731560 by Aaron.McLeran Removing gaurd on spatialization plugin settings and renaming enumerations Change 3731714 by Ori.Cohen Added the ability to profile scene query hitches. Change 3731725 by Ori.Cohen Change scene query hitch threshold to 50us by default Change 3731770 by Ethan.Geller Fix signed/unsigned comparison. Change 3731777 by Ethan.Geller Suppress static analysis warning. Change 3732145 by Thomas.Sarkanen [Duplicated from 4.18.1] Fixed crash when simulating in the physics asset editor, dragging with Ctrl+RMB and then clicking LMB Also fixed a selection issue that was exposed when this crash was fixed, #jira UE-51597 - [CrashReport] Crash in PHAT on LeftMouse click while moving ragdoll asset during Simulate Change 3732176 by Thomas.Sarkanen Fixed hang when selecting all bodies or constraints in a physics asset Implements a better fix for CL 3721129 #jira UE-51626 - Very long hang occurs when selecting all bodies in a physics asset Change 3732177 by Thomas.Sarkanen Fix crash when pasting properties in Physics Asset Editor Makes sure that the tree is refreshed when underlying data changes, so we dont access stuff out of range. #jira UE-51806 - Editor crashes when pasting properties of a body to multiple bodies Change 3732492 by Martin.Wilson Fix for ensure when compressing an animation whos skeleton has been switch due to skeletal mesh merging #Jira UE-51794 Change 3732672 by Thomas.Sarkanen Refactor view menus in animation editors Moves show menu and buffer visualizations into a new CommonMenuExtensions module. Reorders viewport menus in Persona-based editors so the "Show" menu is similar to the level editor's menu of the same name. All character-specific stuff is now in a "Character" menu. Original changes by Jonathan.Poncelet #jira UE-41903 - Add relevant options from Level viewport Show menu to Anim tools viewports Change 3732860 by Thomas.Sarkanen Fix CIS errors/warnings Change 3732877 by Thomas.Sarkanen Fix missing Physics menu Merge error on my part Change 3733113 by Ori.Cohen Fix CIS Change 3734859 by Thomas.Sarkanen Fix crash when opening a physics asset that uses a preview mesh with no skeleton #jira UE-51916 - [CrashReport] UE4Editor_CoreUObject!FWeakObjectPtr::Get() [weakobjectptr.cpp:81] Change 3736693 by Ethan.Geller Added ability for submixes to define their own channel format. Written by aaron.mcleran Change 3737943 by James.Golding Fix crash when right-clicking during section selection in skel mesh tools #jira UE-51873 Change 3738337 by Benn.Gallagher Fix for crash switching between clothing assets with a gradient tool that has cached start/end indices. #jira UE-51921 Change 3738404 by Lina.Halper Add comment for bImportBoneTrack option in FBX importer Change 3738816 by Benn.Gallagher Added "Anim Drive" to clothing assets and added runtime interaction for simulations (Merged from Siren) Change 3738960 by Ethan.Geller Fix Linux compiler errors for implicit enum casting Change 3739214 by Lina.Halper - Removed unnecessary Initialize - Make sure invalidate the other part if not used (socket->bone or bone->socket) #jira: UE-51931 Change 3739215 by Lina.Halper compile error - added one more ) when pasted to the other line Change 3739442 by Lina.Halper pose asset crash when skeleton changes #jira: UE-52036 Change 3739795 by Ethan.Geller fix linux build with implicit enum class casts, pt 2 Change 3740553 by James.Golding Sweeps with an initial overlap now put more useful info (from PhysX) into HitResult::ImpactPoint #jira UE-47566 Change 3740560 by James.Golding - Don't rebuild render data on SkeletalMesh interactive property changes - Remove unnecessary render resource release in SkeletalMesh PreEditChange #jira UE-51652 Change 3740562 by James.Golding Extensibility improvements to PhysicsAssets (from NVIDIA) Change 3740563 by James.Golding PR #4066: Physical Animation Crash fix - Prevent crashing if the scene has already been removed or index was invalid. (Contributed by DSDambuster) #jira UE-50546 Change 3740564 by James.Golding PR #4175: Added functions to SpringArmComponent to get relevant status of the Collision Test (Contributed by alexformosoc) #jira UE-51761 Change 3740587 by Benn.Gallagher CIS fixes for non-cloth platforms and initialization order fix Change 3740658 by Thomas.Sarkanen Update cloth appropriately in the physics asset editor When moving primitives, just update the underlying extracted collision - we dont reset the entire simulation. Reset simulation when making more 'major' potential changes (adding/removing collision etc.) Optionally reset cloth when simulation starts/stops in the physics asset editor #jira UE-50949 - Phat Editor with cloth collisions #jira UE-48779 - Ability to reset clothing during physics simulation #jira UE-48778 - Moving collision in Physics editor doesn't interact with cloth Change 3743354 by Benn.Gallagher CIS Fix Change 3743419 by Thomas.Sarkanen Preview buttons are now present where applicable Preview mesh button reordered to be consistent with other anim editors. Preview animation re-instated where applicable. Also fixed skeleton tree icons hiding when bones are not relevant - this was confusing depending on bone layout #jira UE-50894 - Animation Editors - Include Preview Mesh and Animation Buttons Change 3743529 by Thomas.Sarkanen Moved constraint and physical anim profile indicators to the top of the details panel Indicators now show assignment status. #jira UE-50895 - Constraint Profiles requests Change 3743604 by Jurre.deBaare Duplicating from 4.18.1: [CrashReport] UE4Editor_Core!FMath::ComputeBaryCentric2D() [unrealmath.cpp:1951] #fix pre-emptive early out on the collinear test, and found other minor bug with bounds test as well #jira UE-51917 Change 3743757 by Lina.Halper Adding more ensure to detect NaN Change 3743791 by Ori.Cohen Fix CIS and stack size issues Change 3744008 by Benn.Gallagher Gravity override support for clothing interactor. #jira UE-51014 Change 3744439 by Michael.Karambelas Updating and investigating CableActor automation tests Change 3744566 by Martin.Wilson Possible fix for very rare anim corruption (missing raw data). Moved Super::PostLoad call above track verfiy to make sure skeleton is loaded. #jira UE-49335 Change 3745963 by Martin.Wilson Fix ensure being hit because users could turn on both "Use Adaptive Error" and "Use Adaptive Error 2" at the same time #Jira UE-52044 Change 3748585 by Aaron.McLeran Fixing crash when loading editor with synth components. Change 3749071 by Aaron.McLeran Fixing ambisonics submix format Change 3749969 by Danny.Bouimad Updating TM-AnimPhys to be more performant on Switch Change 3750103 by Danny.Bouimad Checking in automated test to cover Debug Show Collision, Visibility Collision and Player Collision. (Disabled currently due to active bug causing incorrect ground truths to be generated UE-52052) Change 3754465 by Ethan.Geller Fixing panning in audio mixer after submix format feature Change 3755637 by Lina.Halper Back out changelist 3739214 - still add back invalidation #jira: UE-52159 Change 3756385 by Lina.Halper - Adding ground truth for the cable component test map - Disabled first test as it has BP none access warning #jira: UE-52370 Change 3756707 by Ethan.Geller fix potential mem leak in mixer source Change 3757148 by Aaron.McLeran Fixing surround sound bugs due to recent changes to submix format. Change 3757583 by Aaron.McLeran Fix cook with synth component Change 3758477 by Danny.Bouimad Fixing Disabled cable actor test, checking in screenshots for a disabled test. Change 3758873 by Ethan.Geller #jira UE-52389 Remove assert on getting a hash for a unique net id. [CL 3759284 by Marc Audy in Main branch]
2017-11-15 16:13:28 -05:00
#include "ShowFlagMenuCommands.h"
#include "Modules/ModuleManager.h"
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3759273) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3722141 by Aaron.McLeran #jira UE-51670 Added ability to split multi-channel mic input into separate USoundWave assets in recording manager. - Will allow for sequencer recorder to record multiple audio streams, one for each actor Change 3726096 by Ori.Cohen Fixed welded bodies with negative scale not using the mirrored convex hull #jira UE-51647 Change 3726233 by Ori.Cohen Make sure RT doesn't try to create a physics mesh when debug drawing #jira UE-51721 Change 3726254 by Aaron.McLeran Fixing typo in GetCustomSpatializationSettingsClass interface Change 3728295 by Ori.Cohen Fix incorrect lock upgrading Change 3728516 by Benn.Gallagher Fix for crash loading reparented animation blueprints that do not have an animgraph but are no longer child blueprints. #jira UE-51414 Change 3728522 by Benn.Gallagher Added mesh paint settings to per-user settings and added preview vertex size so it's configurable by the user for use on differently sized meshes. #jira UE-50087 Change 3728853 by Benn.Gallagher [NvCloth] Fix sphere collision detection issue when clothing bounds are (almost) flat. Change 3729031 by Ethan.Geller #jira UEAP-316: Improvements to the audio side for our Opus VOIP implementation. Change 3729910 by Benn.Gallagher Fix for crashes editing destructible meshes caused by stale render data Change 3729921 by James.Golding - Remove 'bDisabled' flag from SkeletalMesh render data sections, use per-component ShowMaterialSection to hide sections instead - Renamed flag on source data (FSkelMeshSection) to bLegacyClothingSection_DEPRECATED, to fix up old clothing assets - Expose ShowMaterialSection to BP, added ShowAllMaterialSections and IsMaterialSectionShown as well - Move SelectedEditorSection and SelectedEditorMaterial from USkeletalMesh to USkinnedMeshComponent, made private, added accessors - Made SectionIndexPreview and MaterialIndexPreview in SkinnedMeshComponent private, added accessors - Remove unused ChunkIndexPreview from USkinnedMeshComponent and SelectedClothingSection from USkeletalMesh - Move SectionsDisplayMode from UDebugSkelMeshComponent to SAnimationEditorViewport #jira UEAP-167 Change 3730054 by Martin.Wilson Live Link: Add ability for sources to define their own settings Change 3730134 by Jurre.deBaare Editor crashes when opening animcompression setting on an alembic file #jira UE-51840 #fix ensure that anim sequence actually contains a compression scheme, and set scheme during ABC import #misc cleaned up comment Change 3730428 by Thomas.Sarkanen Fix copy/paste in the physics asset editor When constraint data was being serialized the default profile was being substituted, however it wasnt being updated for all non-detials panel operations. Added a UpdateProfileInstance() to propgate the changes correctly for copy/paste, axis cycling and toggling. Also allow multi-paste of constraints/bodies. #jira UE-51803 - Copy/paste doesn't work correctly in PhAT Change 3730464 by Thomas.Sarkanen Fixed copy/paste not working when the skeleton tree has focus The skeleton tree was absorbing the command binding because socket copy/paste wasnt not checking whether sockets were selected. #jira UE-51803 - Copy/paste doesn't work correctly in PhAT Change 3730511 by Jurre.deBaare Moving over fix from FN-Staging for [CrashReport] UE4Editor_Engine!FColorVertexBuffer::GetVertexColors() [colorvertexbuffer.cpp:313] #jira UE-48988 Change 3730685 by Benn.Gallagher Fix for sequencer crash when toggling spawnable for an actor containing a skeletal mesh component. Caused by CPFUO adding entries into the subinstance array while the component was unregistered. #jira UE-51508 Change 3731560 by Aaron.McLeran Removing gaurd on spatialization plugin settings and renaming enumerations Change 3731714 by Ori.Cohen Added the ability to profile scene query hitches. Change 3731725 by Ori.Cohen Change scene query hitch threshold to 50us by default Change 3731770 by Ethan.Geller Fix signed/unsigned comparison. Change 3731777 by Ethan.Geller Suppress static analysis warning. Change 3732145 by Thomas.Sarkanen [Duplicated from 4.18.1] Fixed crash when simulating in the physics asset editor, dragging with Ctrl+RMB and then clicking LMB Also fixed a selection issue that was exposed when this crash was fixed, #jira UE-51597 - [CrashReport] Crash in PHAT on LeftMouse click while moving ragdoll asset during Simulate Change 3732176 by Thomas.Sarkanen Fixed hang when selecting all bodies or constraints in a physics asset Implements a better fix for CL 3721129 #jira UE-51626 - Very long hang occurs when selecting all bodies in a physics asset Change 3732177 by Thomas.Sarkanen Fix crash when pasting properties in Physics Asset Editor Makes sure that the tree is refreshed when underlying data changes, so we dont access stuff out of range. #jira UE-51806 - Editor crashes when pasting properties of a body to multiple bodies Change 3732492 by Martin.Wilson Fix for ensure when compressing an animation whos skeleton has been switch due to skeletal mesh merging #Jira UE-51794 Change 3732672 by Thomas.Sarkanen Refactor view menus in animation editors Moves show menu and buffer visualizations into a new CommonMenuExtensions module. Reorders viewport menus in Persona-based editors so the "Show" menu is similar to the level editor's menu of the same name. All character-specific stuff is now in a "Character" menu. Original changes by Jonathan.Poncelet #jira UE-41903 - Add relevant options from Level viewport Show menu to Anim tools viewports Change 3732860 by Thomas.Sarkanen Fix CIS errors/warnings Change 3732877 by Thomas.Sarkanen Fix missing Physics menu Merge error on my part Change 3733113 by Ori.Cohen Fix CIS Change 3734859 by Thomas.Sarkanen Fix crash when opening a physics asset that uses a preview mesh with no skeleton #jira UE-51916 - [CrashReport] UE4Editor_CoreUObject!FWeakObjectPtr::Get() [weakobjectptr.cpp:81] Change 3736693 by Ethan.Geller Added ability for submixes to define their own channel format. Written by aaron.mcleran Change 3737943 by James.Golding Fix crash when right-clicking during section selection in skel mesh tools #jira UE-51873 Change 3738337 by Benn.Gallagher Fix for crash switching between clothing assets with a gradient tool that has cached start/end indices. #jira UE-51921 Change 3738404 by Lina.Halper Add comment for bImportBoneTrack option in FBX importer Change 3738816 by Benn.Gallagher Added "Anim Drive" to clothing assets and added runtime interaction for simulations (Merged from Siren) Change 3738960 by Ethan.Geller Fix Linux compiler errors for implicit enum casting Change 3739214 by Lina.Halper - Removed unnecessary Initialize - Make sure invalidate the other part if not used (socket->bone or bone->socket) #jira: UE-51931 Change 3739215 by Lina.Halper compile error - added one more ) when pasted to the other line Change 3739442 by Lina.Halper pose asset crash when skeleton changes #jira: UE-52036 Change 3739795 by Ethan.Geller fix linux build with implicit enum class casts, pt 2 Change 3740553 by James.Golding Sweeps with an initial overlap now put more useful info (from PhysX) into HitResult::ImpactPoint #jira UE-47566 Change 3740560 by James.Golding - Don't rebuild render data on SkeletalMesh interactive property changes - Remove unnecessary render resource release in SkeletalMesh PreEditChange #jira UE-51652 Change 3740562 by James.Golding Extensibility improvements to PhysicsAssets (from NVIDIA) Change 3740563 by James.Golding PR #4066: Physical Animation Crash fix - Prevent crashing if the scene has already been removed or index was invalid. (Contributed by DSDambuster) #jira UE-50546 Change 3740564 by James.Golding PR #4175: Added functions to SpringArmComponent to get relevant status of the Collision Test (Contributed by alexformosoc) #jira UE-51761 Change 3740587 by Benn.Gallagher CIS fixes for non-cloth platforms and initialization order fix Change 3740658 by Thomas.Sarkanen Update cloth appropriately in the physics asset editor When moving primitives, just update the underlying extracted collision - we dont reset the entire simulation. Reset simulation when making more 'major' potential changes (adding/removing collision etc.) Optionally reset cloth when simulation starts/stops in the physics asset editor #jira UE-50949 - Phat Editor with cloth collisions #jira UE-48779 - Ability to reset clothing during physics simulation #jira UE-48778 - Moving collision in Physics editor doesn't interact with cloth Change 3743354 by Benn.Gallagher CIS Fix Change 3743419 by Thomas.Sarkanen Preview buttons are now present where applicable Preview mesh button reordered to be consistent with other anim editors. Preview animation re-instated where applicable. Also fixed skeleton tree icons hiding when bones are not relevant - this was confusing depending on bone layout #jira UE-50894 - Animation Editors - Include Preview Mesh and Animation Buttons Change 3743529 by Thomas.Sarkanen Moved constraint and physical anim profile indicators to the top of the details panel Indicators now show assignment status. #jira UE-50895 - Constraint Profiles requests Change 3743604 by Jurre.deBaare Duplicating from 4.18.1: [CrashReport] UE4Editor_Core!FMath::ComputeBaryCentric2D() [unrealmath.cpp:1951] #fix pre-emptive early out on the collinear test, and found other minor bug with bounds test as well #jira UE-51917 Change 3743757 by Lina.Halper Adding more ensure to detect NaN Change 3743791 by Ori.Cohen Fix CIS and stack size issues Change 3744008 by Benn.Gallagher Gravity override support for clothing interactor. #jira UE-51014 Change 3744439 by Michael.Karambelas Updating and investigating CableActor automation tests Change 3744566 by Martin.Wilson Possible fix for very rare anim corruption (missing raw data). Moved Super::PostLoad call above track verfiy to make sure skeleton is loaded. #jira UE-49335 Change 3745963 by Martin.Wilson Fix ensure being hit because users could turn on both "Use Adaptive Error" and "Use Adaptive Error 2" at the same time #Jira UE-52044 Change 3748585 by Aaron.McLeran Fixing crash when loading editor with synth components. Change 3749071 by Aaron.McLeran Fixing ambisonics submix format Change 3749969 by Danny.Bouimad Updating TM-AnimPhys to be more performant on Switch Change 3750103 by Danny.Bouimad Checking in automated test to cover Debug Show Collision, Visibility Collision and Player Collision. (Disabled currently due to active bug causing incorrect ground truths to be generated UE-52052) Change 3754465 by Ethan.Geller Fixing panning in audio mixer after submix format feature Change 3755637 by Lina.Halper Back out changelist 3739214 - still add back invalidation #jira: UE-52159 Change 3756385 by Lina.Halper - Adding ground truth for the cable component test map - Disabled first test as it has BP none access warning #jira: UE-52370 Change 3756707 by Ethan.Geller fix potential mem leak in mixer source Change 3757148 by Aaron.McLeran Fixing surround sound bugs due to recent changes to submix format. Change 3757583 by Aaron.McLeran Fix cook with synth component Change 3758477 by Danny.Bouimad Fixing Disabled cable actor test, checking in screenshots for a disabled test. Change 3758873 by Ethan.Geller #jira UE-52389 Remove assert on getting a hash for a unique net id. [CL 3759284 by Marc Audy in Main branch]
2017-11-15 16:13:28 -05:00
IMPLEMENT_MODULE(FCommonMenuExtensionsModule, CommonMenuExtensions);
void FCommonMenuExtensionsModule::StartupModule()
{
FBufferVisualizationMenuCommands::Register();
FNaniteVisualizationMenuCommands::Register();
Refactored Lumen visualization views and show flag in order to improve user experience. All Lumen visualization modes and show flags were moved into Lumen submenus for easier discovery. View modes were made exclusive (only one may be active at a time). Additonally exposed new view modes and show flags in order to easier debug and understand Lumen. Lit->Lumen Added Lit->Lumen submenu with 4 view modes - Lumen Scene, Lumen Reflection View, Lumen Surface Cache and Overview: * Lumen Scene - same as ShowFlags->VisualizeLumenScene. Visualizes Lumen scene representation in highest possible quality, with highest possible view distance * Lumen Reflection View - Lumen Scene, but with current reflections settings. Basically represents how things look in the reflections * Lumen Surface Cache - visualizes surface cache and marks with pink missing surface cache coverage * Overview - 3 Lumen view mode tiles, overlaid on top of normal view Show->Lumen Added Show->Lumen submenu with 6 flags, which allow to disable specific trace types (screen space, detail, global, far field), disable secondary bounces (radiosity) and disable Screen Space Directional Occlusion. Show->Visualize Removed �Lumen Scene� (replaced by Lit->Lumen->Lumen Scene view mode) and �Lumen Global Illumination� (replaced by r.Lumen.Visualize.IndirectDiffuse) from Advanced visualization modes are accessible through r.Lumen.Visualize.Mode, which overrides current Lit->Lumen-> settings. Misc changes: * Renamed VisualizeLumenScene* to LumenVisualize* * Moved shared visualize parameters to LumenVisualize.h * Lumen HWRT visualize now uses same ray footprint as SWRT visualize * Replaced HALF_WORLD_MAX with Lumen::MaxTracingEndDistanceFromCamera and Lumen::MaxTraceDistance in preparation for the LWC WORLD_MAX changes #rb Patrick.Kelly, Daniel.Wright #preflight 61e73339b56c33b8ecf753b2 #ROBOMERGE-AUTHOR: krzysztof.narkowicz #ROBOMERGE-SOURCE: CL 18658215 in //UE5/Release-5.0/... via CL 18658227 via CL 18658249 #ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592) [CL 18658268 by krzysztof narkowicz in ue5-main branch]
2022-01-19 10:11:35 -05:00
FLumenVisualizationMenuCommands::Register();
FSubstrateVisualizationMenuCommands::Register();
FGroomVisualizationMenuCommands::Register();
FVirtualShadowMapVisualizationMenuCommands::Register();
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3759273) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3722141 by Aaron.McLeran #jira UE-51670 Added ability to split multi-channel mic input into separate USoundWave assets in recording manager. - Will allow for sequencer recorder to record multiple audio streams, one for each actor Change 3726096 by Ori.Cohen Fixed welded bodies with negative scale not using the mirrored convex hull #jira UE-51647 Change 3726233 by Ori.Cohen Make sure RT doesn't try to create a physics mesh when debug drawing #jira UE-51721 Change 3726254 by Aaron.McLeran Fixing typo in GetCustomSpatializationSettingsClass interface Change 3728295 by Ori.Cohen Fix incorrect lock upgrading Change 3728516 by Benn.Gallagher Fix for crash loading reparented animation blueprints that do not have an animgraph but are no longer child blueprints. #jira UE-51414 Change 3728522 by Benn.Gallagher Added mesh paint settings to per-user settings and added preview vertex size so it's configurable by the user for use on differently sized meshes. #jira UE-50087 Change 3728853 by Benn.Gallagher [NvCloth] Fix sphere collision detection issue when clothing bounds are (almost) flat. Change 3729031 by Ethan.Geller #jira UEAP-316: Improvements to the audio side for our Opus VOIP implementation. Change 3729910 by Benn.Gallagher Fix for crashes editing destructible meshes caused by stale render data Change 3729921 by James.Golding - Remove 'bDisabled' flag from SkeletalMesh render data sections, use per-component ShowMaterialSection to hide sections instead - Renamed flag on source data (FSkelMeshSection) to bLegacyClothingSection_DEPRECATED, to fix up old clothing assets - Expose ShowMaterialSection to BP, added ShowAllMaterialSections and IsMaterialSectionShown as well - Move SelectedEditorSection and SelectedEditorMaterial from USkeletalMesh to USkinnedMeshComponent, made private, added accessors - Made SectionIndexPreview and MaterialIndexPreview in SkinnedMeshComponent private, added accessors - Remove unused ChunkIndexPreview from USkinnedMeshComponent and SelectedClothingSection from USkeletalMesh - Move SectionsDisplayMode from UDebugSkelMeshComponent to SAnimationEditorViewport #jira UEAP-167 Change 3730054 by Martin.Wilson Live Link: Add ability for sources to define their own settings Change 3730134 by Jurre.deBaare Editor crashes when opening animcompression setting on an alembic file #jira UE-51840 #fix ensure that anim sequence actually contains a compression scheme, and set scheme during ABC import #misc cleaned up comment Change 3730428 by Thomas.Sarkanen Fix copy/paste in the physics asset editor When constraint data was being serialized the default profile was being substituted, however it wasnt being updated for all non-detials panel operations. Added a UpdateProfileInstance() to propgate the changes correctly for copy/paste, axis cycling and toggling. Also allow multi-paste of constraints/bodies. #jira UE-51803 - Copy/paste doesn't work correctly in PhAT Change 3730464 by Thomas.Sarkanen Fixed copy/paste not working when the skeleton tree has focus The skeleton tree was absorbing the command binding because socket copy/paste wasnt not checking whether sockets were selected. #jira UE-51803 - Copy/paste doesn't work correctly in PhAT Change 3730511 by Jurre.deBaare Moving over fix from FN-Staging for [CrashReport] UE4Editor_Engine!FColorVertexBuffer::GetVertexColors() [colorvertexbuffer.cpp:313] #jira UE-48988 Change 3730685 by Benn.Gallagher Fix for sequencer crash when toggling spawnable for an actor containing a skeletal mesh component. Caused by CPFUO adding entries into the subinstance array while the component was unregistered. #jira UE-51508 Change 3731560 by Aaron.McLeran Removing gaurd on spatialization plugin settings and renaming enumerations Change 3731714 by Ori.Cohen Added the ability to profile scene query hitches. Change 3731725 by Ori.Cohen Change scene query hitch threshold to 50us by default Change 3731770 by Ethan.Geller Fix signed/unsigned comparison. Change 3731777 by Ethan.Geller Suppress static analysis warning. Change 3732145 by Thomas.Sarkanen [Duplicated from 4.18.1] Fixed crash when simulating in the physics asset editor, dragging with Ctrl+RMB and then clicking LMB Also fixed a selection issue that was exposed when this crash was fixed, #jira UE-51597 - [CrashReport] Crash in PHAT on LeftMouse click while moving ragdoll asset during Simulate Change 3732176 by Thomas.Sarkanen Fixed hang when selecting all bodies or constraints in a physics asset Implements a better fix for CL 3721129 #jira UE-51626 - Very long hang occurs when selecting all bodies in a physics asset Change 3732177 by Thomas.Sarkanen Fix crash when pasting properties in Physics Asset Editor Makes sure that the tree is refreshed when underlying data changes, so we dont access stuff out of range. #jira UE-51806 - Editor crashes when pasting properties of a body to multiple bodies Change 3732492 by Martin.Wilson Fix for ensure when compressing an animation whos skeleton has been switch due to skeletal mesh merging #Jira UE-51794 Change 3732672 by Thomas.Sarkanen Refactor view menus in animation editors Moves show menu and buffer visualizations into a new CommonMenuExtensions module. Reorders viewport menus in Persona-based editors so the "Show" menu is similar to the level editor's menu of the same name. All character-specific stuff is now in a "Character" menu. Original changes by Jonathan.Poncelet #jira UE-41903 - Add relevant options from Level viewport Show menu to Anim tools viewports Change 3732860 by Thomas.Sarkanen Fix CIS errors/warnings Change 3732877 by Thomas.Sarkanen Fix missing Physics menu Merge error on my part Change 3733113 by Ori.Cohen Fix CIS Change 3734859 by Thomas.Sarkanen Fix crash when opening a physics asset that uses a preview mesh with no skeleton #jira UE-51916 - [CrashReport] UE4Editor_CoreUObject!FWeakObjectPtr::Get() [weakobjectptr.cpp:81] Change 3736693 by Ethan.Geller Added ability for submixes to define their own channel format. Written by aaron.mcleran Change 3737943 by James.Golding Fix crash when right-clicking during section selection in skel mesh tools #jira UE-51873 Change 3738337 by Benn.Gallagher Fix for crash switching between clothing assets with a gradient tool that has cached start/end indices. #jira UE-51921 Change 3738404 by Lina.Halper Add comment for bImportBoneTrack option in FBX importer Change 3738816 by Benn.Gallagher Added "Anim Drive" to clothing assets and added runtime interaction for simulations (Merged from Siren) Change 3738960 by Ethan.Geller Fix Linux compiler errors for implicit enum casting Change 3739214 by Lina.Halper - Removed unnecessary Initialize - Make sure invalidate the other part if not used (socket->bone or bone->socket) #jira: UE-51931 Change 3739215 by Lina.Halper compile error - added one more ) when pasted to the other line Change 3739442 by Lina.Halper pose asset crash when skeleton changes #jira: UE-52036 Change 3739795 by Ethan.Geller fix linux build with implicit enum class casts, pt 2 Change 3740553 by James.Golding Sweeps with an initial overlap now put more useful info (from PhysX) into HitResult::ImpactPoint #jira UE-47566 Change 3740560 by James.Golding - Don't rebuild render data on SkeletalMesh interactive property changes - Remove unnecessary render resource release in SkeletalMesh PreEditChange #jira UE-51652 Change 3740562 by James.Golding Extensibility improvements to PhysicsAssets (from NVIDIA) Change 3740563 by James.Golding PR #4066: Physical Animation Crash fix - Prevent crashing if the scene has already been removed or index was invalid. (Contributed by DSDambuster) #jira UE-50546 Change 3740564 by James.Golding PR #4175: Added functions to SpringArmComponent to get relevant status of the Collision Test (Contributed by alexformosoc) #jira UE-51761 Change 3740587 by Benn.Gallagher CIS fixes for non-cloth platforms and initialization order fix Change 3740658 by Thomas.Sarkanen Update cloth appropriately in the physics asset editor When moving primitives, just update the underlying extracted collision - we dont reset the entire simulation. Reset simulation when making more 'major' potential changes (adding/removing collision etc.) Optionally reset cloth when simulation starts/stops in the physics asset editor #jira UE-50949 - Phat Editor with cloth collisions #jira UE-48779 - Ability to reset clothing during physics simulation #jira UE-48778 - Moving collision in Physics editor doesn't interact with cloth Change 3743354 by Benn.Gallagher CIS Fix Change 3743419 by Thomas.Sarkanen Preview buttons are now present where applicable Preview mesh button reordered to be consistent with other anim editors. Preview animation re-instated where applicable. Also fixed skeleton tree icons hiding when bones are not relevant - this was confusing depending on bone layout #jira UE-50894 - Animation Editors - Include Preview Mesh and Animation Buttons Change 3743529 by Thomas.Sarkanen Moved constraint and physical anim profile indicators to the top of the details panel Indicators now show assignment status. #jira UE-50895 - Constraint Profiles requests Change 3743604 by Jurre.deBaare Duplicating from 4.18.1: [CrashReport] UE4Editor_Core!FMath::ComputeBaryCentric2D() [unrealmath.cpp:1951] #fix pre-emptive early out on the collinear test, and found other minor bug with bounds test as well #jira UE-51917 Change 3743757 by Lina.Halper Adding more ensure to detect NaN Change 3743791 by Ori.Cohen Fix CIS and stack size issues Change 3744008 by Benn.Gallagher Gravity override support for clothing interactor. #jira UE-51014 Change 3744439 by Michael.Karambelas Updating and investigating CableActor automation tests Change 3744566 by Martin.Wilson Possible fix for very rare anim corruption (missing raw data). Moved Super::PostLoad call above track verfiy to make sure skeleton is loaded. #jira UE-49335 Change 3745963 by Martin.Wilson Fix ensure being hit because users could turn on both "Use Adaptive Error" and "Use Adaptive Error 2" at the same time #Jira UE-52044 Change 3748585 by Aaron.McLeran Fixing crash when loading editor with synth components. Change 3749071 by Aaron.McLeran Fixing ambisonics submix format Change 3749969 by Danny.Bouimad Updating TM-AnimPhys to be more performant on Switch Change 3750103 by Danny.Bouimad Checking in automated test to cover Debug Show Collision, Visibility Collision and Player Collision. (Disabled currently due to active bug causing incorrect ground truths to be generated UE-52052) Change 3754465 by Ethan.Geller Fixing panning in audio mixer after submix format feature Change 3755637 by Lina.Halper Back out changelist 3739214 - still add back invalidation #jira: UE-52159 Change 3756385 by Lina.Halper - Adding ground truth for the cable component test map - Disabled first test as it has BP none access warning #jira: UE-52370 Change 3756707 by Ethan.Geller fix potential mem leak in mixer source Change 3757148 by Aaron.McLeran Fixing surround sound bugs due to recent changes to submix format. Change 3757583 by Aaron.McLeran Fix cook with synth component Change 3758477 by Danny.Bouimad Fixing Disabled cable actor test, checking in screenshots for a disabled test. Change 3758873 by Ethan.Geller #jira UE-52389 Remove assert on getting a hash for a unique net id. [CL 3759284 by Marc Audy in Main branch]
2017-11-15 16:13:28 -05:00
FShowFlagMenuCommands::Register();
}
void FCommonMenuExtensionsModule::ShutdownModule()
{
FShowFlagMenuCommands::Unregister();
FVirtualShadowMapVisualizationMenuCommands::Unregister();
FNaniteVisualizationMenuCommands::Unregister();
FGroomVisualizationMenuCommands::Unregister();
FSubstrateVisualizationMenuCommands::Unregister();
Refactored Lumen visualization views and show flag in order to improve user experience. All Lumen visualization modes and show flags were moved into Lumen submenus for easier discovery. View modes were made exclusive (only one may be active at a time). Additonally exposed new view modes and show flags in order to easier debug and understand Lumen. Lit->Lumen Added Lit->Lumen submenu with 4 view modes - Lumen Scene, Lumen Reflection View, Lumen Surface Cache and Overview: * Lumen Scene - same as ShowFlags->VisualizeLumenScene. Visualizes Lumen scene representation in highest possible quality, with highest possible view distance * Lumen Reflection View - Lumen Scene, but with current reflections settings. Basically represents how things look in the reflections * Lumen Surface Cache - visualizes surface cache and marks with pink missing surface cache coverage * Overview - 3 Lumen view mode tiles, overlaid on top of normal view Show->Lumen Added Show->Lumen submenu with 6 flags, which allow to disable specific trace types (screen space, detail, global, far field), disable secondary bounces (radiosity) and disable Screen Space Directional Occlusion. Show->Visualize Removed �Lumen Scene� (replaced by Lit->Lumen->Lumen Scene view mode) and �Lumen Global Illumination� (replaced by r.Lumen.Visualize.IndirectDiffuse) from Advanced visualization modes are accessible through r.Lumen.Visualize.Mode, which overrides current Lit->Lumen-> settings. Misc changes: * Renamed VisualizeLumenScene* to LumenVisualize* * Moved shared visualize parameters to LumenVisualize.h * Lumen HWRT visualize now uses same ray footprint as SWRT visualize * Replaced HALF_WORLD_MAX with Lumen::MaxTracingEndDistanceFromCamera and Lumen::MaxTraceDistance in preparation for the LWC WORLD_MAX changes #rb Patrick.Kelly, Daniel.Wright #preflight 61e73339b56c33b8ecf753b2 #ROBOMERGE-AUTHOR: krzysztof.narkowicz #ROBOMERGE-SOURCE: CL 18658215 in //UE5/Release-5.0/... via CL 18658227 via CL 18658249 #ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592) [CL 18658268 by krzysztof narkowicz in ue5-main branch]
2022-01-19 10:11:35 -05:00
FLumenVisualizationMenuCommands::Unregister();
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3759273) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3722141 by Aaron.McLeran #jira UE-51670 Added ability to split multi-channel mic input into separate USoundWave assets in recording manager. - Will allow for sequencer recorder to record multiple audio streams, one for each actor Change 3726096 by Ori.Cohen Fixed welded bodies with negative scale not using the mirrored convex hull #jira UE-51647 Change 3726233 by Ori.Cohen Make sure RT doesn't try to create a physics mesh when debug drawing #jira UE-51721 Change 3726254 by Aaron.McLeran Fixing typo in GetCustomSpatializationSettingsClass interface Change 3728295 by Ori.Cohen Fix incorrect lock upgrading Change 3728516 by Benn.Gallagher Fix for crash loading reparented animation blueprints that do not have an animgraph but are no longer child blueprints. #jira UE-51414 Change 3728522 by Benn.Gallagher Added mesh paint settings to per-user settings and added preview vertex size so it's configurable by the user for use on differently sized meshes. #jira UE-50087 Change 3728853 by Benn.Gallagher [NvCloth] Fix sphere collision detection issue when clothing bounds are (almost) flat. Change 3729031 by Ethan.Geller #jira UEAP-316: Improvements to the audio side for our Opus VOIP implementation. Change 3729910 by Benn.Gallagher Fix for crashes editing destructible meshes caused by stale render data Change 3729921 by James.Golding - Remove 'bDisabled' flag from SkeletalMesh render data sections, use per-component ShowMaterialSection to hide sections instead - Renamed flag on source data (FSkelMeshSection) to bLegacyClothingSection_DEPRECATED, to fix up old clothing assets - Expose ShowMaterialSection to BP, added ShowAllMaterialSections and IsMaterialSectionShown as well - Move SelectedEditorSection and SelectedEditorMaterial from USkeletalMesh to USkinnedMeshComponent, made private, added accessors - Made SectionIndexPreview and MaterialIndexPreview in SkinnedMeshComponent private, added accessors - Remove unused ChunkIndexPreview from USkinnedMeshComponent and SelectedClothingSection from USkeletalMesh - Move SectionsDisplayMode from UDebugSkelMeshComponent to SAnimationEditorViewport #jira UEAP-167 Change 3730054 by Martin.Wilson Live Link: Add ability for sources to define their own settings Change 3730134 by Jurre.deBaare Editor crashes when opening animcompression setting on an alembic file #jira UE-51840 #fix ensure that anim sequence actually contains a compression scheme, and set scheme during ABC import #misc cleaned up comment Change 3730428 by Thomas.Sarkanen Fix copy/paste in the physics asset editor When constraint data was being serialized the default profile was being substituted, however it wasnt being updated for all non-detials panel operations. Added a UpdateProfileInstance() to propgate the changes correctly for copy/paste, axis cycling and toggling. Also allow multi-paste of constraints/bodies. #jira UE-51803 - Copy/paste doesn't work correctly in PhAT Change 3730464 by Thomas.Sarkanen Fixed copy/paste not working when the skeleton tree has focus The skeleton tree was absorbing the command binding because socket copy/paste wasnt not checking whether sockets were selected. #jira UE-51803 - Copy/paste doesn't work correctly in PhAT Change 3730511 by Jurre.deBaare Moving over fix from FN-Staging for [CrashReport] UE4Editor_Engine!FColorVertexBuffer::GetVertexColors() [colorvertexbuffer.cpp:313] #jira UE-48988 Change 3730685 by Benn.Gallagher Fix for sequencer crash when toggling spawnable for an actor containing a skeletal mesh component. Caused by CPFUO adding entries into the subinstance array while the component was unregistered. #jira UE-51508 Change 3731560 by Aaron.McLeran Removing gaurd on spatialization plugin settings and renaming enumerations Change 3731714 by Ori.Cohen Added the ability to profile scene query hitches. Change 3731725 by Ori.Cohen Change scene query hitch threshold to 50us by default Change 3731770 by Ethan.Geller Fix signed/unsigned comparison. Change 3731777 by Ethan.Geller Suppress static analysis warning. Change 3732145 by Thomas.Sarkanen [Duplicated from 4.18.1] Fixed crash when simulating in the physics asset editor, dragging with Ctrl+RMB and then clicking LMB Also fixed a selection issue that was exposed when this crash was fixed, #jira UE-51597 - [CrashReport] Crash in PHAT on LeftMouse click while moving ragdoll asset during Simulate Change 3732176 by Thomas.Sarkanen Fixed hang when selecting all bodies or constraints in a physics asset Implements a better fix for CL 3721129 #jira UE-51626 - Very long hang occurs when selecting all bodies in a physics asset Change 3732177 by Thomas.Sarkanen Fix crash when pasting properties in Physics Asset Editor Makes sure that the tree is refreshed when underlying data changes, so we dont access stuff out of range. #jira UE-51806 - Editor crashes when pasting properties of a body to multiple bodies Change 3732492 by Martin.Wilson Fix for ensure when compressing an animation whos skeleton has been switch due to skeletal mesh merging #Jira UE-51794 Change 3732672 by Thomas.Sarkanen Refactor view menus in animation editors Moves show menu and buffer visualizations into a new CommonMenuExtensions module. Reorders viewport menus in Persona-based editors so the "Show" menu is similar to the level editor's menu of the same name. All character-specific stuff is now in a "Character" menu. Original changes by Jonathan.Poncelet #jira UE-41903 - Add relevant options from Level viewport Show menu to Anim tools viewports Change 3732860 by Thomas.Sarkanen Fix CIS errors/warnings Change 3732877 by Thomas.Sarkanen Fix missing Physics menu Merge error on my part Change 3733113 by Ori.Cohen Fix CIS Change 3734859 by Thomas.Sarkanen Fix crash when opening a physics asset that uses a preview mesh with no skeleton #jira UE-51916 - [CrashReport] UE4Editor_CoreUObject!FWeakObjectPtr::Get() [weakobjectptr.cpp:81] Change 3736693 by Ethan.Geller Added ability for submixes to define their own channel format. Written by aaron.mcleran Change 3737943 by James.Golding Fix crash when right-clicking during section selection in skel mesh tools #jira UE-51873 Change 3738337 by Benn.Gallagher Fix for crash switching between clothing assets with a gradient tool that has cached start/end indices. #jira UE-51921 Change 3738404 by Lina.Halper Add comment for bImportBoneTrack option in FBX importer Change 3738816 by Benn.Gallagher Added "Anim Drive" to clothing assets and added runtime interaction for simulations (Merged from Siren) Change 3738960 by Ethan.Geller Fix Linux compiler errors for implicit enum casting Change 3739214 by Lina.Halper - Removed unnecessary Initialize - Make sure invalidate the other part if not used (socket->bone or bone->socket) #jira: UE-51931 Change 3739215 by Lina.Halper compile error - added one more ) when pasted to the other line Change 3739442 by Lina.Halper pose asset crash when skeleton changes #jira: UE-52036 Change 3739795 by Ethan.Geller fix linux build with implicit enum class casts, pt 2 Change 3740553 by James.Golding Sweeps with an initial overlap now put more useful info (from PhysX) into HitResult::ImpactPoint #jira UE-47566 Change 3740560 by James.Golding - Don't rebuild render data on SkeletalMesh interactive property changes - Remove unnecessary render resource release in SkeletalMesh PreEditChange #jira UE-51652 Change 3740562 by James.Golding Extensibility improvements to PhysicsAssets (from NVIDIA) Change 3740563 by James.Golding PR #4066: Physical Animation Crash fix - Prevent crashing if the scene has already been removed or index was invalid. (Contributed by DSDambuster) #jira UE-50546 Change 3740564 by James.Golding PR #4175: Added functions to SpringArmComponent to get relevant status of the Collision Test (Contributed by alexformosoc) #jira UE-51761 Change 3740587 by Benn.Gallagher CIS fixes for non-cloth platforms and initialization order fix Change 3740658 by Thomas.Sarkanen Update cloth appropriately in the physics asset editor When moving primitives, just update the underlying extracted collision - we dont reset the entire simulation. Reset simulation when making more 'major' potential changes (adding/removing collision etc.) Optionally reset cloth when simulation starts/stops in the physics asset editor #jira UE-50949 - Phat Editor with cloth collisions #jira UE-48779 - Ability to reset clothing during physics simulation #jira UE-48778 - Moving collision in Physics editor doesn't interact with cloth Change 3743354 by Benn.Gallagher CIS Fix Change 3743419 by Thomas.Sarkanen Preview buttons are now present where applicable Preview mesh button reordered to be consistent with other anim editors. Preview animation re-instated where applicable. Also fixed skeleton tree icons hiding when bones are not relevant - this was confusing depending on bone layout #jira UE-50894 - Animation Editors - Include Preview Mesh and Animation Buttons Change 3743529 by Thomas.Sarkanen Moved constraint and physical anim profile indicators to the top of the details panel Indicators now show assignment status. #jira UE-50895 - Constraint Profiles requests Change 3743604 by Jurre.deBaare Duplicating from 4.18.1: [CrashReport] UE4Editor_Core!FMath::ComputeBaryCentric2D() [unrealmath.cpp:1951] #fix pre-emptive early out on the collinear test, and found other minor bug with bounds test as well #jira UE-51917 Change 3743757 by Lina.Halper Adding more ensure to detect NaN Change 3743791 by Ori.Cohen Fix CIS and stack size issues Change 3744008 by Benn.Gallagher Gravity override support for clothing interactor. #jira UE-51014 Change 3744439 by Michael.Karambelas Updating and investigating CableActor automation tests Change 3744566 by Martin.Wilson Possible fix for very rare anim corruption (missing raw data). Moved Super::PostLoad call above track verfiy to make sure skeleton is loaded. #jira UE-49335 Change 3745963 by Martin.Wilson Fix ensure being hit because users could turn on both "Use Adaptive Error" and "Use Adaptive Error 2" at the same time #Jira UE-52044 Change 3748585 by Aaron.McLeran Fixing crash when loading editor with synth components. Change 3749071 by Aaron.McLeran Fixing ambisonics submix format Change 3749969 by Danny.Bouimad Updating TM-AnimPhys to be more performant on Switch Change 3750103 by Danny.Bouimad Checking in automated test to cover Debug Show Collision, Visibility Collision and Player Collision. (Disabled currently due to active bug causing incorrect ground truths to be generated UE-52052) Change 3754465 by Ethan.Geller Fixing panning in audio mixer after submix format feature Change 3755637 by Lina.Halper Back out changelist 3739214 - still add back invalidation #jira: UE-52159 Change 3756385 by Lina.Halper - Adding ground truth for the cable component test map - Disabled first test as it has BP none access warning #jira: UE-52370 Change 3756707 by Ethan.Geller fix potential mem leak in mixer source Change 3757148 by Aaron.McLeran Fixing surround sound bugs due to recent changes to submix format. Change 3757583 by Aaron.McLeran Fix cook with synth component Change 3758477 by Danny.Bouimad Fixing Disabled cable actor test, checking in screenshots for a disabled test. Change 3758873 by Ethan.Geller #jira UE-52389 Remove assert on getting a hash for a unique net id. [CL 3759284 by Marc Audy in Main branch]
2017-11-15 16:13:28 -05:00
FBufferVisualizationMenuCommands::Unregister();
}