Moved scene snapshot into class

This commit is contained in:
antopilo
2023-03-15 20:29:37 -04:00
parent e0950b15a4
commit 3160dd437e
2 changed files with 3 additions and 2 deletions

View File

@@ -1392,8 +1392,6 @@ namespace Nuake {
}
}
Ref<Scene> SceneSnapshot;
void EditorInterface::Draw()
{
Init();

View File

@@ -7,12 +7,15 @@
#include "../Actions/EditorSelection.h"
#include "EditorSelectionPanel.h"
#include "WelcomeWindow.h"
namespace Nuake {
class Material;
class FileSystemUI;
class EditorInterface
{
private:
Ref<Scene> SceneSnapshot;
bool m_DrawGrid = false;
bool m_DrawAxis = true;
bool m_ShowImGuiDemo = false;