new source file button works
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -203,6 +203,15 @@ namespace ScriptCanvasEditor
|
||||
, m_path(path)
|
||||
{}
|
||||
|
||||
SourceHandle::~SourceHandle()
|
||||
{
|
||||
AZ_TracePrintf("ScriptCanvas", "Destroy Handle: %p, count %d", m_data.get(), m_data.use_count());
|
||||
if (m_data.use_count() <= 1)
|
||||
{
|
||||
AZ_TracePrintf("ScriptCanvas", "BOOM Handle: %p, count %d", m_data.get(), m_data.use_count());
|
||||
}
|
||||
}
|
||||
|
||||
bool SourceHandle::AnyEquals(const SourceHandle& other) const
|
||||
{
|
||||
return m_data == other.m_data
|
||||
|
||||
@@ -330,6 +330,8 @@ namespace ScriptCanvasEditor
|
||||
|
||||
SourceHandle(ScriptCanvas::DataPtr graph, const AZ::Uuid& id, AZStd::string_view path);
|
||||
|
||||
~SourceHandle();
|
||||
|
||||
bool AnyEquals(const SourceHandle& other) const;
|
||||
|
||||
void Clear();
|
||||
|
||||
Reference in New Issue
Block a user