fix linux build error

Signed-off-by: carlitosan <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
carlitosan
2021-12-02 16:02:29 -08:00
parent 0cc4c06213
commit 07bf8fc755
3 changed files with 1 additions and 6 deletions
@@ -19,8 +19,7 @@
namespace ScriptCanvasEditor
{
ScriptCanvasMemoryAsset::ScriptCanvasMemoryAsset()
: m_isSaving(false)
, m_sourceInError(false)
: m_sourceInError(false)
{
m_undoState = AZStd::make_unique<SceneUndoState>(this);
}
@@ -321,7 +321,6 @@ namespace ScriptCanvasEditor
//! The undo helper is an object that implements the Undo behaviors
AZStd::unique_ptr<UndoHelper> m_undoHelper;
bool m_isSaving;
bool m_sourceInError;
AZ::Data::AssetId m_sourceUuid;
@@ -70,11 +70,8 @@ namespace ScriptCanvasEditor
{
EditorGraphRequests* editorGraphRequests = EditorGraphRequestBus::FindFirstHandler(scriptCanvasId);
editorGraphRequests->CreateGraphCanvasScene();
AZ::EntityId graphCanvasSceneId = editorGraphRequests->GetGraphCanvasGraphId();
m_graphicsView->SetScene(graphCanvasSceneId);
m_scriptCanvasId = scriptCanvasId;
}