[LYN-1731] Removed temporary bus for checking if the new viewport interaction model is enabled.

This commit is contained in:
Chris Galvan
2021-04-30 10:24:01 -05:00
parent ca08d78dd6
commit 6ace9ffedb
7 changed files with 0 additions and 49 deletions
@@ -172,7 +172,6 @@ void SandboxIntegrationManager::Setup()
AzFramework::DisplayContextRequestBus::Handler::BusConnect();
SetupFileExtensionMap();
AzToolsFramework::NewViewportInteractionModelEnabledRequestBus::Handler::BusConnect();
MainWindow::instance()->GetActionManager()->RegisterActionHandler(ID_FILE_SAVE_SLICE_TO_ROOT, [this]() {
SaveSlice(false);
@@ -376,7 +375,6 @@ void SandboxIntegrationManager::GetEntitiesInSlices(
void SandboxIntegrationManager::Teardown()
{
AzToolsFramework::Layers::EditorLayerComponentNotificationBus::Handler::BusDisconnect();
AzToolsFramework::NewViewportInteractionModelEnabledRequestBus::Handler::BusDisconnect();
AzFramework::DisplayContextRequestBus::Handler::BusDisconnect();
if( m_debugDisplayBusImplementationActive)
{
@@ -2772,11 +2770,6 @@ void SandboxIntegrationManager::PopMatrix()
}
}
bool SandboxIntegrationManager::IsNewViewportInteractionModelEnabled()
{
return GetIEditor()->IsNewViewportInteractionModelEnabled();
}
bool SandboxIntegrationManager::DisplayHelpersVisible()
{
return GetIEditor()->GetDisplaySettings()->IsDisplayHelpers();
@@ -104,7 +104,6 @@ class SandboxIntegrationManager
, private AzToolsFramework::EditorEntityContextNotificationBus::Handler
, private AzToolsFramework::SliceEditorEntityOwnershipServiceNotificationBus::Handler
, private IUndoManagerListener
, private AzToolsFramework::NewViewportInteractionModelEnabledRequestBus::Handler
, private AzToolsFramework::Layers::EditorLayerComponentNotificationBus::Handler
{
public:
@@ -275,9 +274,6 @@ private:
void SetDC(DisplayContext* dc) override;
DisplayContext* GetDC() override;
// NewViewportInteractionModelEnabledRequestBus
bool IsNewViewportInteractionModelEnabled() override;
// Context menu handlers.
void ContextMenu_NewEntity();
AZ::EntityId ContextMenu_NewLayer();