diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/API/ViewportEditorModeTrackerNotificationBus.h b/Code/Framework/AzToolsFramework/AzToolsFramework/API/ViewportEditorModeTrackerNotificationBus.h index b9b5c80f39..cdb50e30e7 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/API/ViewportEditorModeTrackerNotificationBus.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/API/ViewportEditorModeTrackerNotificationBus.h @@ -5,6 +5,7 @@ * SPDX-License-Identifier: Apache-2.0 OR MIT * */ + #pragma once #include @@ -13,7 +14,7 @@ namespace AzToolsFramework { - //! Enumeration of each viewport editor state. + //! Enumeration of each viewport editor mode. enum class ViewportEditorMode : AZ::u8 { Default, @@ -62,4 +63,4 @@ namespace AzToolsFramework } }; using ViewportEditorModeNotificationsBus = AZ::EBus; -} +} // namespace AzToolsFramework diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorInteractionInterface.h b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorInteractionInterface.h deleted file mode 100644 index 70cbfd09ec..0000000000 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorInteractionInterface.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Contributors to the Open 3D Engine Project. - * For complete copyright and license terms please see the LICENSE at the root of this distribution. - * - * SPDX-License-Identifier: Apache-2.0 OR MIT - * - */ - -#pragma once - -#include -#include - -namespace AzToolsFramework -{ - /*! - * EditorInteractionInterface - * Allows systems to alter the behavior of viewport selection. - */ - class EditorInteractionInterface - { - public: - AZ_RTTI(EditorInteractionInterface, "{09276E3C-9AA6-40FF-A0B5-3D33A33F0E5A}"); - - /*! - * Allows the entity system to redirect the selection of an entity to another entity. - * It can be used to select a container when clicking on its content. - */ - virtual AZ::EntityId RedirectEntitySelection(AZ::EntityId entityId) = 0; - }; - -} // namespace AzToolsFramework -