Fix issues caused by SC editor component holding onto a live graph (#6734)

Signed-off-by: carlitosan <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
carlitosan
2022-01-06 16:35:36 -08:00
committed by GitHub
parent 54e0b8b7b5
commit 7f4fe67f77
4 changed files with 28 additions and 33 deletions
@@ -38,6 +38,8 @@ namespace ScriptCanvasBuilder
// use this to initialize the new data, and make sure they have a editor graph variable for proper editor display
void PopulateFromParsedResults(ScriptCanvas::Grammar::AbstractCodeModelConstPtr abstractCodeModel, const ScriptCanvas::VariableData& variables);
void SetHandlesToDescription();
// #functions2 provide an identifier for the node/variable in the source that caused the dependency. the root will not have one.
ScriptCanvasEditor::SourceHandle m_source;