Removed redundant code (#4363)

Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
This commit is contained in:
John Jones-Steele
2021-09-28 18:08:58 +01:00
committed by GitHub
parent 4627361b4e
commit 29d9abba57
2 changed files with 0 additions and 3 deletions
@@ -676,7 +676,6 @@ namespace PhysX
LmbrCentral::ShapeComponentNotificationsBus::Handler::BusDisconnect();
AZ::TransformNotificationBus::Handler::BusDisconnect();
AzToolsFramework::EntitySelectionEvents::Bus::Handler::BusDisconnect();
AzFramework::EntityDebugDisplayEventBus::Handler::BusDisconnect();
AzToolsFramework::Components::EditorComponentBase::Deactivate();
if (m_sceneInterface && m_editorBodyHandle != AzPhysics::InvalidSimulatedBodyHandle)
@@ -10,7 +10,6 @@
#include <AzCore/Component/TransformBus.h>
#include <AzCore/Component/NonUniformScaleBus.h>
#include <AzFramework/Entity/EntityDebugDisplayBus.h>
#include <AzFramework/Physics/Shape.h>
#include <AzFramework/Physics/Components/SimulatedBodyComponentBus.h>
#include <AzFramework/Physics/Common/PhysicsEvents.h>
@@ -58,7 +57,6 @@ namespace PhysX
//! component to create geometry in the PhysX simulation.
class EditorShapeColliderComponent
: public AzToolsFramework::Components::EditorComponentBase
, protected AzFramework::EntityDebugDisplayEventBus::Handler
, protected AzToolsFramework::EntitySelectionEvents::Bus::Handler
, private AZ::TransformNotificationBus::Handler
, protected DebugDraw::DisplayCallback