From 55c1b5d56fd390ac460996b9d1a1dd0414a09c75 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Thu, 11 Jan 2018 08:27:48 -0800 Subject: [PATCH] Update hecl --- Editor/main.cpp | 5 +++-- hecl | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Editor/main.cpp b/Editor/main.cpp index 714815c7a..32f13de4a 100644 --- a/Editor/main.cpp +++ b/Editor/main.cpp @@ -70,8 +70,9 @@ struct Application : boo::IApplicationCallback m_cvarCommons(m_cvarManager), m_console(&m_cvarManager) { + //hecl::Console::RegisterLogger(&m_console); m_viewManager = std::make_unique(m_fileMgr, m_cvarManager); - m_console.registerCommand("quit", "Quits application instantly", "", std::bind(&Application::quit, this, std::placeholders::_1)); + m_console.registerCommand("quit", "Quits application instantly", "", std::bind(&Application::quit, this, std::placeholders::_1, std::placeholders::_2)); } virtual ~Application() = default; @@ -142,7 +143,7 @@ struct Application : boo::IApplicationCallback return m_cvarCommons.getAnisotropy(); } - void quit(const std::vector& arg = std::vector()) + void quit(hecl::Console* con = nullptr, const std::vector& arg = std::vector()) { m_running = false; } diff --git a/hecl b/hecl index bdd36796f..fcbd33141 160000 --- a/hecl +++ b/hecl @@ -1 +1 @@ -Subproject commit bdd36796ffa86c4b9ec7b51cce8e10cb002294df +Subproject commit fcbd33141ce6f649d8597187d1495a2e79f36610