Files
o3de/Gems/ScriptCanvas/Code/Editor/View/Widgets/LoggingPanel/LoggingWindowSession.cpp
T
Esteban Papp 1f9b284de2 Merge branch 'development' into cmake/SPEC-7179
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

# Conflicts:
#	Code/Editor/Plugins/ComponentEntityEditorPlugin/ComponentEntityEditorPlugin_precompiled.h
#	Code/Editor/Plugins/EditorCommon/EditorCommon_precompiled.h
#	Code/Editor/Plugins/EditorCommon/stdafx.cpp
#	Code/Editor/Plugins/FFMPEGPlugin/FFMPEGPlugin_precompiled.h
#	Code/Editor/Plugins/PerforcePlugin/PerforcePlugin_precompiled.h
#	Code/Editor/Plugins/ProjectSettingsTool/ProjectSettingsTool_precompiled.h
#	Code/Framework/AzToolsFramework/AzToolsFramework/AzToolsFramework_precompiled.h
#	Code/Tools/AssetProcessor/native/precompiled.h
#	Code/Tools/Standalone/StandaloneTools_precompiled.h
#	Gems/AssetMemoryAnalyzer/Code/Source/AssetMemoryAnalyzer_precompiled.h
#	Gems/Atom/Asset/ImageProcessingAtom/Code/Source/ImageProcessing_precompiled.h
#	Gems/Atom/RHI/DX12/Code/Source/RHI/Atom_RHI_DX12_precompiled.h
#	Gems/Atom/RHI/Metal/Code/Include/Platform/Mac/Atom_RHI_Metal_precompiled_Platform.h
#	Gems/Atom/RHI/Metal/Code/Include/Platform/iOS/Atom_RHI_Metal_precompiled_Platform.h
#	Gems/Atom/RHI/Metal/Code/Source/Atom_RHI_Metal_precompiled.h
#	Gems/Atom/RHI/Metal/Code/atom_rhi_metal_common_files.cmake
#	Gems/Atom/RHI/Null/Code/Source/Atom_RHI_Null_precompiled.h
#	Gems/Atom/RHI/Null/Code/atom_rhi_null_common_files.cmake
#	Gems/Atom/RHI/Vulkan/Code/Include/Platform/Android/Atom_RHI_Vulkan_precompiled_Platform.h
#	Gems/Atom/RHI/Vulkan/Code/Include/Platform/Linux/Atom_RHI_Vulkan_precompiled_Platform.h
#	Gems/Atom/RHI/Vulkan/Code/Include/Platform/Mac/Atom_RHI_Vulkan_precompiled_Platform.h
#	Gems/Atom/RHI/Vulkan/Code/Include/Platform/Windows/Atom_RHI_Vulkan_precompiled_Platform.h
#	Gems/Atom/RHI/Vulkan/Code/Source/Atom_RHI_Vulkan_precompiled.h
#	Gems/Atom/RHI/Vulkan/Code/Source/RHI/SwapChain.cpp
#	Gems/Atom/RHI/Vulkan/Code/atom_rhi_vulkan_common_files.cmake
#	Gems/AtomLyIntegration/AtomFont/Code/Include/AtomLyIntegration/AtomFont/AtomFont_precompiled.h
#	Gems/Blast/Code/Source/StdAfx.cpp
#	Gems/Camera/Code/Source/Camera_precompiled.h
#	Gems/EMotionFX/Code/Source/EMotionFX_precompiled.h
#	Gems/FastNoise/Code/Source/FastNoise_precompiled.h
#	Gems/Gestures/Code/Source/Gestures_precompiled.h
#	Gems/GradientSignal/Code/Source/GradientSignal_precompiled.h
#	Gems/GraphCanvas/Code/precompiled.h
#	Gems/ImGui/Code/Source/ImGui_precompiled.h
#	Gems/InAppPurchases/Code/Source/InAppPurchases_precompiled.h
#	Gems/LmbrCentral/Code/Source/LmbrCentral_precompiled.h
#	Gems/LmbrCentral/Code/Tests/ShapeGeometryUtilTest.cpp
#	Gems/LyShine/Code/Editor/UiCanvasEditor_precompiled.h
#	Gems/LyShine/Code/Source/Animation/LyShine_precompiled.h
#	Gems/LyShine/Code/Source/LyShine_precompiled.h
#	Gems/LyShineExamples/Code/Source/LyShineExamples_precompiled.h
#	Gems/Maestro/Code/Source/Cinematics/Maestro_precompiled.h
#	Gems/Maestro/Code/Source/Maestro_precompiled.h
#	Gems/MessagePopup/Code/Source/MessagePopup_precompiled.h
#	Gems/Metastream/Code/Source/Metastream_precompiled.h
#	Gems/Microphone/Code/Source/Microphone_precompiled.h
#	Gems/Multiplayer/Code/Source/Multiplayer_precompiled.h
#	Gems/PhysX/Code/NumericalMethods/Source/NumericalMethods_precompiled.h
#	Gems/PhysX/Code/Source/PhysXUnsupported_precompiled.h
#	Gems/PhysX/Code/Source/PhysX_precompiled.h
#	Gems/PhysX/Code/physx_unsupported_files.cmake
#	Gems/PhysXDebug/Code/Source/PhysXDebugUnsupported_precompiled.h
#	Gems/PhysXDebug/Code/Source/PhysXDebug_precompiled.h
#	Gems/ScriptCanvas/Code/Editor/precompiled.h
#	Gems/ScriptCanvas/Code/Source/precompiled.h
#	Gems/ScriptCanvasDeveloper/Code/Source/precompiled.h
#	Gems/ScriptCanvasPhysics/Code/Source/ScriptCanvasPhysics_precompiled.h
#	Gems/ScriptEvents/Code/Source/precompiled.h
#	Gems/ScriptEvents/Code/Tests/Editor/EditorTests.cpp
#	Gems/ScriptedEntityTweener/Code/Source/ScriptedEntityTweener_precompiled.h
#	Gems/SliceFavorites/Code/Source/SliceFavorites_precompiled.h
#	Gems/StartingPointCamera/Code/Source/StartingPointCamera_precompiled.h
#	Gems/StartingPointInput/Code/Source/StartingPointInput_precompiled.h
#	Gems/StartingPointMovement/Code/Source/StartingPointMovement_precompiled.h
#	Gems/SurfaceData/Code/Source/SurfaceData_precompiled.h
#	Gems/TextureAtlas/Code/Source/TextureAtlas_precompiled.h
#	Gems/TickBusOrderViewer/Code/Source/TickBusOrderViewer_precompiled.h
#	Gems/Twitch/Code/Source/Twitch_precompiled.h
#	Gems/VirtualGamepad/Code/Source/VirtualGamepad_precompiled.h
#	Gems/WhiteBox/Code/Source/WhiteBoxUnsupported_precompiled.h
#	Gems/WhiteBox/Code/Source/WhiteBox_precompiled.h
2021-07-16 15:42:37 -07:00

479 lines
17 KiB
C++

/*
* 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
*
*/
#include <QScrollBar>
#include <QGraphicsItem>
#include <QScopedValueRollback>
#include <GraphCanvas/Components/Nodes/NodeTitleBus.h>
#include <GraphCanvas/Components/SceneBus.h>
#include <GraphCanvas/Components/Slots/SlotBus.h>
#include <GraphCanvas/Components/VisualBus.h>
#include <GraphCanvas/Widgets/StyledItemDelegates/IconDecoratedNameDelegate.h>
#include <GraphCanvas/Utils/GraphUtils.h>
#include <Editor/View/Widgets/AssetGraphSceneDataBus.h>
#include <Editor/View/Widgets/LoggingPanel/LoggingWindowSession.h>
#include <ScriptCanvas/Bus/RequestBus.h>
#include <ScriptCanvas/GraphCanvas/MappingBus.h>
#include <Editor/GraphCanvas/GraphCanvasEditorNotificationBusId.h>
namespace ScriptCanvasEditor
{
/////////////////////////////
// LoggingWindowFilterModel
/////////////////////////////
bool LoggingWindowFilterModel::filterAcceptsRow(int sourceRow, const QModelIndex& sourceParent) const
{
if (m_logFilter.IsEmpty())
{
return true;
}
QAbstractItemModel* model = sourceModel();
QModelIndex index = model->index(sourceRow, 0, sourceParent);
DebugLogTreeItem* treeItem = static_cast<DebugLogTreeItem*>(index.internalPointer());
if (treeItem)
{
return treeItem->MatchesFilter(m_logFilter);
}
return false;
}
void LoggingWindowFilterModel::SetFilter(const QString& filter)
{
m_filter = filter;
m_logFilter.m_filter = QRegExp(m_filter, Qt::CaseInsensitive);
invalidateFilter();
}
void LoggingWindowFilterModel::ClearFilter()
{
SetFilter("");
}
bool LoggingWindowFilterModel::HasFilter() const
{
return !m_filter.isEmpty();
}
/////////////////////////
// LoggingWindowSession
/////////////////////////
LoggingWindowSession::LoggingWindowSession(QWidget* parentWidget)
: QWidget(parentWidget)
, m_ui(new Ui::LoggingWindowSession())
, m_clearSelectionOnSceneSelectionChange(true)
, m_scrollToBottom(true)
, m_debugRoot(nullptr)
, m_treeModel(nullptr)
, m_filterModel(nullptr)
{
m_ui->setupUi(this);
QObject::connect(m_ui->captureButton, &QToolButton::clicked, this, &LoggingWindowSession::OnCaptureButtonPressed);
QObject::connect(m_ui->expandAll, &QToolButton::clicked, this, &LoggingWindowSession::OnExpandAll);
QObject::connect(m_ui->collapseAll, &QToolButton::clicked, this, &LoggingWindowSession::OnCollapseAll);
QObject::connect(m_ui->targetSelector, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &LoggingWindowSession::OnTargetChanged);
QObject::connect(m_ui->logTree->verticalScrollBar(), &QScrollBar::valueChanged, this, &LoggingWindowSession::OnLogScrolled);
QObject::connect(m_ui->logTree, &QTreeView::expanded, this, &LoggingWindowSession::OnLogItemExpanded);
QObject::connect(m_ui->logTree->verticalScrollBar(), &QScrollBar::rangeChanged, this, &LoggingWindowSession::OnLogRangeChanged);
QObject::connect(m_ui->filterWidget, &AzQtComponents::FilteredSearchWidget::TextFilterChanged, this, &LoggingWindowSession::OnSearchFilterChanged);
m_ui->filterWidget->SetFilterInputInterval(AZStd::chrono::milliseconds(250));
m_ui->logTree->setMouseTracking(true);
QObject::connect(m_ui->logTree, &QTreeView::clicked, this, &LoggingWindowSession::OnLogClicked);
QObject::connect(m_ui->logTree, &QTreeView::doubleClicked, this, &LoggingWindowSession::OnLogDoubleClicked);
m_focusDelayTimer.setInterval(125);
m_focusDelayTimer.setSingleShot(true);
QObject::connect(&m_focusDelayTimer, &QTimer::timeout, this, &LoggingWindowSession::HandleQueuedFocus);
GraphCanvas::AssetEditorNotificationBus::Handler::BusConnect(ScriptCanvasEditor::AssetEditorId);
AZ::EntityId graphCanvasId;
GeneralRequestBus::BroadcastResult(graphCanvasId, &GeneralRequests::GetActiveGraphCanvasGraphId);
OnActiveGraphChanged(graphCanvasId);
}
LoggingWindowSession::~LoggingWindowSession()
{
}
const LoggingDataId& LoggingWindowSession::GetDataId() const
{
return m_loggingDataId;
}
void LoggingWindowSession::ClearFilter()
{
m_ui->filterWidget->ClearTextFilter();
}
void LoggingWindowSession::OnActiveGraphChanged(const AZ::EntityId& graphId)
{
ClearLoggingSelection();
if (GraphCanvas::SceneNotificationBus::Handler::BusIsConnected())
{
GraphCanvas::SceneNotificationBus::Handler::BusDisconnect();
}
if (graphId.IsValid())
{
GraphCanvas::SceneNotificationBus::Handler::BusConnect(graphId);
}
}
void LoggingWindowSession::OnSelectionChanged()
{
ClearLoggingSelection();
}
void LoggingWindowSession::RegisterTreeRoot(DebugLogRootItem* debugRoot)
{
m_debugRoot = debugRoot;
m_treeModel = aznew GraphCanvas::GraphCanvasTreeModel(debugRoot, this);
m_filterModel = aznew LoggingWindowFilterModel();
m_filterModel->setSourceModel(m_treeModel);
m_ui->logTree->setModel(m_filterModel);
m_ui->logTree->header()->setStretchLastSection(false);
m_ui->logTree->header()->setSectionResizeMode(DebugLogTreeItem::Column::NodeName, QHeaderView::ResizeMode::Stretch);
m_ui->logTree->header()->setSectionResizeMode(DebugLogTreeItem::Column::Input, QHeaderView::ResizeMode::Stretch);
m_ui->logTree->header()->setSectionResizeMode(DebugLogTreeItem::Column::Output, QHeaderView::ResizeMode::Stretch);
m_ui->logTree->header()->setSectionResizeMode(DebugLogTreeItem::Column::TimeStep, QHeaderView::ResizeMode::Fixed);
m_ui->logTree->header()->resizeSection(DebugLogTreeItem::Column::TimeStep, 75);
m_ui->logTree->header()->setSectionResizeMode(DebugLogTreeItem::Column::ScriptName, QHeaderView::ResizeMode::Fixed);
m_ui->logTree->header()->resizeSection(DebugLogTreeItem::Column::ScriptName, 150);
m_ui->logTree->header()->setSectionResizeMode(DebugLogTreeItem::Column::SourceEntity, QHeaderView::ResizeMode::Fixed);
m_ui->logTree->header()->resizeSection(DebugLogTreeItem::Column::SourceEntity, 200);
m_ui->logTree->setItemDelegateForColumn(DebugLogTreeItem::Column::NodeName, aznew GraphCanvas::IconDecoratedNameDelegate(this));
QObject::connect(m_ui->logTree->selectionModel(), &QItemSelectionModel::selectionChanged, this, &LoggingWindowSession::OnLogSelectionChanged);
}
void LoggingWindowSession::SetDataId(const LoggingDataId& loggingDataId)
{
if (!m_loggingDataId.IsValid())
{
m_loggingDataId = loggingDataId;
}
}
void LoggingWindowSession::OnExpandAll()
{
m_ui->logTree->expandAll();
ScrollToSelection();
}
void LoggingWindowSession::OnCollapseAll()
{
m_ui->logTree->collapseAll();
ScrollToSelection();
}
void LoggingWindowSession::OnSearchFilterChanged(const QString& filterString)
{
m_filterModel->SetFilter(filterString);
}
void LoggingWindowSession::OnLogScrolled(int value)
{
if (m_ui->logTree->verticalScrollBar()->isEnabled())
{
if (m_ui->logTree->verticalScrollBar()->maximum() == value)
{
m_scrollToBottom = true;
}
else
{
m_scrollToBottom = false;
}
}
else
{
m_scrollToBottom = true;
}
}
void LoggingWindowSession::OnLogItemExpanded([[maybe_unused]] const QModelIndex& modelIndex)
{
m_scrollToBottom = false;
}
void LoggingWindowSession::OnLogRangeChanged([[maybe_unused]] int min, int max)
{
if (m_scrollToBottom)
{
m_ui->logTree->verticalScrollBar()->setValue(max);
}
if (!m_ui->logTree->verticalScrollBar()->isEnabled())
{
m_scrollToBottom = true;
}
}
void LoggingWindowSession::OnLogClicked(const QModelIndex& modelIndex)
{
if (modelIndex.column() == DebugLogTreeItem::Column::ScriptName)
{
QModelIndex sourceIndex = m_filterModel->mapToSource(modelIndex);
DebugLogTreeItem* treeItem = static_cast<DebugLogTreeItem*>(sourceIndex.internalPointer());
if (ExecutionLogTreeItem* executionItem = azrtti_cast<ExecutionLogTreeItem*>(treeItem))
{
QScopedValueRollback<bool> valueRollback(m_clearSelectionOnSceneSelectionChange, false);
const AZ::Data::AssetId& assetId = executionItem->GetAssetId();
GeneralRequestBus::Broadcast(&GeneralRequests::OpenScriptCanvasAssetId, assetId);
}
}
}
void LoggingWindowSession::OnLogDoubleClicked(const QModelIndex& modelIndex)
{
ExecutionLogTreeItem* executionItem = ResolveExecutionItem(modelIndex);
if (executionItem)
{
const AZ::Data::AssetId& assetId = executionItem->GetAssetId();
bool isAssetOpen = false;
GeneralRequestBus::BroadcastResult(isAssetOpen, &GeneralRequests::IsScriptCanvasAssetOpen, assetId);
GeneralRequestBus::Broadcast(&GeneralRequests::OpenScriptCanvasAssetId, assetId);
AZ::EntityId graphCanvasGraphId;
GeneralRequestBus::BroadcastResult(graphCanvasGraphId, &GeneralRequests::FindGraphCanvasGraphIdByAssetId, assetId);
if (isAssetOpen)
{
FocusOnElement(assetId, executionItem->GetScriptCanvasAssetNodeId());
}
else
{
m_assetId = assetId;
m_assetNodeId = executionItem->GetScriptCanvasAssetNodeId();
m_focusDelayTimer.stop();
m_focusDelayTimer.start();
}
}
}
void LoggingWindowSession::OnLogSelectionChanged(const QItemSelection& selected, const QItemSelection& deselected)
{
for (const QModelIndex& deselectedIndex : deselected.indexes())
{
if (deselectedIndex.column() != 0)
{
continue;
}
ExecutionLogTreeItem* executionItem = ResolveExecutionItem(deselectedIndex);
if (executionItem)
{
RemoveHighlight(executionItem->GetAssetId(), executionItem->GetScriptCanvasAssetNodeId());
}
}
for (const QModelIndex& selectedIndex : selected.indexes())
{
if (selectedIndex.column() != 0)
{
continue;
}
ExecutionLogTreeItem* executionItem = ResolveExecutionItem(selectedIndex);
if (executionItem)
{
HighlightElement(executionItem->GetAssetId(), executionItem->GetScriptCanvasAssetNodeId());
}
}
}
ExecutionLogTreeItem* LoggingWindowSession::ResolveExecutionItem(const QModelIndex& proxyModelIndex)
{
QModelIndex sourceIndex = m_filterModel->mapToSource(proxyModelIndex);
DebugLogTreeItem* treeItem = static_cast<DebugLogTreeItem*>(sourceIndex.internalPointer());
DebugLogTreeItem* parentItem = static_cast<DebugLogTreeItem*>(treeItem->GetParent());
ExecutionLogTreeItem* executionItem = azrtti_cast<ExecutionLogTreeItem*>(treeItem);
while (executionItem == nullptr && parentItem != nullptr)
{
executionItem = azrtti_cast<ExecutionLogTreeItem*>(parentItem);
parentItem = static_cast<DebugLogTreeItem*>(parentItem->GetParent());
}
return executionItem;
}
void LoggingWindowSession::HandleQueuedFocus()
{
AZ::EntityId activeGraphCanvasGraphId;
GeneralRequestBus::BroadcastResult(activeGraphCanvasGraphId, &GeneralRequests::GetActiveGraphCanvasGraphId);
AZ::EntityId graphCanvasGraphId;
GeneralRequestBus::BroadcastResult(graphCanvasGraphId, &GeneralRequests::FindGraphCanvasGraphIdByAssetId, m_assetId);
if (activeGraphCanvasGraphId == graphCanvasGraphId)
{
FocusOnElement(m_assetId, m_assetNodeId);
m_focusDelayTimer.stop();
m_assetId.SetInvalid();
m_assetNodeId.SetInvalid();
}
}
void LoggingWindowSession::FocusOnElement(const AZ::Data::AssetId& assetId, const AZ::EntityId& assetNodeId)
{
GraphCanvas::FocusConfig focusConfig;
AZ::EntityId scriptCanvasNodeId;
AssetGraphSceneBus::BroadcastResult(scriptCanvasNodeId, &AssetGraphScene::FindEditorNodeIdByAssetNodeId, assetId, assetNodeId);
GraphCanvas::NodeId graphCanvasNodeId;
SceneMemberMappingRequestBus::EventResult(graphCanvasNodeId, scriptCanvasNodeId, &SceneMemberMappingRequests::GetGraphCanvasEntityId);
if (GraphCanvas::GraphUtils::IsNodeGroup(graphCanvasNodeId))
{
focusConfig.m_spacingType = GraphCanvas::FocusConfig::SpacingType::GridStep;
focusConfig.m_spacingAmount = 1;
}
else
{
focusConfig.m_spacingType = GraphCanvas::FocusConfig::SpacingType::Scalar;
focusConfig.m_spacingAmount = 2;
}
AZStd::vector< AZ::EntityId > memberIds = { graphCanvasNodeId };
GraphCanvas::GraphUtils::FocusOnElements(memberIds, focusConfig);
{
QScopedValueRollback<bool> maintainSelection(m_clearSelectionOnSceneSelectionChange, false);
RemoveHighlight(assetId, assetNodeId);
GraphCanvas::GraphId graphId;
GraphCanvas::SceneMemberRequestBus::EventResult(graphId, graphCanvasNodeId, &GraphCanvas::SceneMemberRequests::GetScene);
GraphCanvas::SceneRequestBus::Event(graphId, &GraphCanvas::SceneRequests::ClearSelection);
GraphCanvas::SceneMemberUIRequestBus::Event(graphCanvasNodeId, &GraphCanvas::SceneMemberUIRequests::SetSelected, true);
}
}
void LoggingWindowSession::HighlightElement(const AZ::Data::AssetId& assetId, const AZ::EntityId& assetNodeId)
{
AZ::EntityId graphCanvasGraphId;
GeneralRequestBus::BroadcastResult(graphCanvasGraphId, &GeneralRequests::FindGraphCanvasGraphIdByAssetId, assetId);
if (graphCanvasGraphId.IsValid())
{
AZ::EntityId scriptCanvasNodeId;
AssetGraphSceneBus::BroadcastResult(scriptCanvasNodeId, &AssetGraphScene::FindEditorNodeIdByAssetNodeId, assetId, assetNodeId);
GraphCanvas::NodeId graphCanvasNodeId;
SceneMemberMappingRequestBus::EventResult(graphCanvasNodeId, scriptCanvasNodeId, &SceneMemberMappingRequests::GetGraphCanvasEntityId);
GraphCanvas::SceneMemberGlowOutlineConfiguration glowConfiguration;
glowConfiguration.m_sceneMember = graphCanvasNodeId;
glowConfiguration.m_blurRadius = 5;
glowConfiguration.m_pen = QPen();
glowConfiguration.m_pen.setBrush(QColor(243, 129, 29));
glowConfiguration.m_pen.setWidth(5);
glowConfiguration.m_pulseRate = AZStd::chrono::milliseconds(2500);
glowConfiguration.m_zValue = 0;
GraphCanvas::GraphicsEffectId effectId;
GraphCanvas::SceneRequestBus::EventResult(effectId, graphCanvasGraphId, &GraphCanvas::SceneRequests::CreateGlowOnSceneMember, glowConfiguration);
auto effectIter = m_highlightEffects.find(assetNodeId);
if (effectIter != m_highlightEffects.end())
{
GraphCanvas::SceneRequestBus::Event(graphCanvasGraphId, &GraphCanvas::SceneRequests::CancelGraphicsEffect, effectIter->second);
}
m_highlightEffects[assetNodeId] = effectId;
}
}
void LoggingWindowSession::RemoveHighlight(const AZ::Data::AssetId& assetId, const AZ::EntityId& assetNodeId)
{
auto effectIter = m_highlightEffects.find(assetNodeId);
if (effectIter != m_highlightEffects.end())
{
AZ::EntityId graphCanvasGraphId;
GeneralRequestBus::BroadcastResult(graphCanvasGraphId, &GeneralRequests::FindGraphCanvasGraphIdByAssetId, assetId);
if (graphCanvasGraphId.IsValid())
{
GraphCanvas::SceneRequestBus::Event(graphCanvasGraphId, &GraphCanvas::SceneRequests::CancelGraphicsEffect, effectIter->second);
}
m_highlightEffects.erase(effectIter);
}
}
void LoggingWindowSession::ScrollToSelection()
{
for (auto selectedIndex : m_ui->logTree->selectionModel()->selectedIndexes())
{
m_ui->logTree->scrollTo(selectedIndex);
}
}
void LoggingWindowSession::ClearLoggingSelection()
{
if (m_clearSelectionOnSceneSelectionChange)
{
m_ui->logTree->clearSelection();
}
}
#include <Editor/View/Widgets/LoggingPanel/moc_LoggingWindowSession.cpp>
}