From 3160dd437eefa0a0feea28f5191b765f424feb59 Mon Sep 17 00:00:00 2001 From: antopilo Date: Wed, 15 Mar 2023 20:29:37 -0400 Subject: [PATCH] Moved scene snapshot into class --- Editor/src/Windows/EditorInterface.cpp | 2 -- Editor/src/Windows/EditorInterface.h | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Editor/src/Windows/EditorInterface.cpp b/Editor/src/Windows/EditorInterface.cpp index 2b5f5ab5..a55377d6 100644 --- a/Editor/src/Windows/EditorInterface.cpp +++ b/Editor/src/Windows/EditorInterface.cpp @@ -1392,8 +1392,6 @@ namespace Nuake { } } - Ref SceneSnapshot; - void EditorInterface::Draw() { Init(); diff --git a/Editor/src/Windows/EditorInterface.h b/Editor/src/Windows/EditorInterface.h index 3ab72536..55f48bc9 100644 --- a/Editor/src/Windows/EditorInterface.h +++ b/Editor/src/Windows/EditorInterface.h @@ -7,12 +7,15 @@ #include "../Actions/EditorSelection.h" #include "EditorSelectionPanel.h" #include "WelcomeWindow.h" + namespace Nuake { class Material; class FileSystemUI; class EditorInterface { private: + Ref SceneSnapshot; + bool m_DrawGrid = false; bool m_DrawAxis = true; bool m_ShowImGuiDemo = false;