source save in place first pass

Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
chcurran
2021-11-08 13:58:48 -08:00
committed by Chris Burel
parent 1ea245e46c
commit 5cd8eb648c
9 changed files with 101 additions and 89 deletions
@@ -1067,9 +1067,9 @@ namespace ScriptCanvasEditor
m_owner = &owner;
}
ScriptCanvas::DataPtr Graph::GetOwnership() const
ScriptCanvas::ScriptCanvasData* Graph::GetOwnership() const
{
return ScriptCanvas::DataPtr(const_cast<Graph*>(this)->m_owner);
return const_cast<Graph*>(this)->m_owner;
}
bool Graph::CreateConnection(const GraphCanvas::ConnectionId& connectionId, const GraphCanvas::Endpoint& sourcePoint, const GraphCanvas::Endpoint& targetPoint)