add file state for graphs
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -132,6 +132,9 @@ namespace ScriptCanvasEditor
|
||||
{
|
||||
entity->Init();
|
||||
entity->Activate();
|
||||
|
||||
auto graph = entity->FindComponent<ScriptCanvasEditor::Graph>();
|
||||
graph->MarkOwnership(*scriptCanvasData);
|
||||
}
|
||||
|
||||
return AZ::Success(ScriptCanvasEditor::SourceHandle(scriptCanvasData, {}, path));
|
||||
|
||||
Reference in New Issue
Block a user