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:
@@ -247,21 +247,12 @@ namespace ScriptCanvasEditor
|
||||
m_scriptCanvasAssetHolder.OpenEditor();
|
||||
}
|
||||
|
||||
void EditorScriptCanvasComponent::CloseGraph()
|
||||
{
|
||||
AZ::Data::AssetId assetId = m_scriptCanvasAssetHolder.GetAssetId();
|
||||
if (assetId.IsValid())
|
||||
{
|
||||
GeneralRequestBus::Broadcast(&GeneralRequests::CloseScriptCanvasAsset, assetId);
|
||||
}
|
||||
}
|
||||
|
||||
void EditorScriptCanvasComponent::Init()
|
||||
{
|
||||
EditorComponentBase::Init();
|
||||
AzFramework::AssetCatalogEventBus::Handler::BusConnect();
|
||||
AzToolsFramework::EditorEntityContextNotificationBus::Handler::BusConnect();
|
||||
m_scriptCanvasAssetHolder.Init(GetEntityId(), GetId());
|
||||
// m_scriptCanvasAssetHolder.Init(GetEntityId(), GetId());
|
||||
}
|
||||
|
||||
//=========================================================================
|
||||
|
||||
Reference in New Issue
Block a user