|
|
|
|
@ -606,6 +606,7 @@ namespace AzToolsFramework
|
|
|
|
|
|
|
|
|
|
AzToolsFramework::ComponentModeFramework::EditorComponentModeNotificationBus::Handler::BusConnect(
|
|
|
|
|
AzToolsFramework::GetEntityContextId());
|
|
|
|
|
ViewportEditorModeNotificationsBus::Handler::BusConnect(GetEntityContextId());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EntityPropertyEditor::~EntityPropertyEditor()
|
|
|
|
|
@ -618,7 +619,8 @@ namespace AzToolsFramework
|
|
|
|
|
AZ::EntitySystemBus::Handler::BusDisconnect();
|
|
|
|
|
EditorEntityContextNotificationBus::Handler::BusDisconnect();
|
|
|
|
|
AzToolsFramework::ComponentModeFramework::EditorComponentModeNotificationBus::Handler::BusDisconnect();
|
|
|
|
|
|
|
|
|
|
ViewportEditorModeNotificationsBus::Handler::BusDisconnect();
|
|
|
|
|
|
|
|
|
|
for (auto& entityId : m_overrideSelectedEntityIds)
|
|
|
|
|
{
|
|
|
|
|
DisconnectFromEntityBuses(entityId);
|
|
|
|
|
|