initial compile of detailed path of change to regular sc files
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
+12
-12
@@ -405,18 +405,18 @@ namespace ScriptCanvasEditor
|
||||
{
|
||||
sourceIndex = proxyModel->mapToSource(modelIndex);
|
||||
}
|
||||
|
||||
PivotTreeItem* pivotTreeItem = static_cast<PivotTreeItem*>(sourceIndex.internalPointer());
|
||||
|
||||
if (pivotTreeItem)
|
||||
{
|
||||
PivotTreeGraphItem* graphItem = azrtti_cast<PivotTreeGraphItem*>(pivotTreeItem);
|
||||
|
||||
if (graphItem)
|
||||
{
|
||||
GeneralRequestBus::Broadcast(&GeneralRequests::OpenScriptCanvasAssetId, graphItem->GetAssetId());
|
||||
}
|
||||
}
|
||||
// #sc_editor_asset
|
||||
// PivotTreeItem* pivotTreeItem = static_cast<PivotTreeItem*>(sourceIndex.internalPointer());
|
||||
//
|
||||
// if (pivotTreeItem)
|
||||
// {
|
||||
// PivotTreeGraphItem* graphItem = azrtti_cast<PivotTreeGraphItem*>(pivotTreeItem);
|
||||
//
|
||||
// if (graphItem)
|
||||
// {
|
||||
// GeneralRequestBus::Broadcast(&GeneralRequests::OpenScriptCanvasAssetId, graphItem->GetAssetId());
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
#include <Editor/View/Widgets/LoggingPanel/PivotTree/moc_PivotTreeWidget.cpp>
|
||||
|
||||
Reference in New Issue
Block a user