Removed redundant code (#4363)
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
This commit is contained in:
committed by
GitHub
parent
4627361b4e
commit
29d9abba57
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user