Move g_mainViewportEntityDebugDisplayId from AzToolsFramework to AzFramework and rename it to g_defaultSceneEntityDebugDisplayId
This commit is contained in:
@@ -907,7 +907,7 @@ void CComponentEntityObject::Display(DisplayContext& dc)
|
||||
|
||||
AzFramework::DebugDisplayRequestBus::BusPtr debugDisplayBus;
|
||||
AzFramework::DebugDisplayRequestBus::Bind(
|
||||
debugDisplayBus, AzToolsFramework::ViewportInteraction::g_mainViewportEntityDebugDisplayId);
|
||||
debugDisplayBus, AzFramework::g_defaultSceneEntityDebugDisplayId);
|
||||
AZ_Assert(debugDisplayBus, "Invalid DebugDisplayRequestBus.");
|
||||
|
||||
AzFramework::DebugDisplayRequests* debugDisplay =
|
||||
|
||||
@@ -167,7 +167,7 @@ void SandboxIntegrationManager::Setup()
|
||||
{
|
||||
m_debugDisplayBusImplementationActive = true;
|
||||
AzFramework::DebugDisplayRequestBus::Handler::BusConnect(
|
||||
AzToolsFramework::ViewportInteraction::g_mainViewportEntityDebugDisplayId);
|
||||
AzFramework::g_defaultSceneEntityDebugDisplayId);
|
||||
}
|
||||
|
||||
AzFramework::DisplayContextRequestBus::Handler::BusConnect();
|
||||
|
||||
Reference in New Issue
Block a user