From 6a9b220f9c6474c67bd3ff6ea7edbae1b5c5a6ba Mon Sep 17 00:00:00 2001 From: Lynix Date: Tue, 23 Aug 2016 18:25:10 +0200 Subject: [PATCH] Sdk/Console: Remove debug error Former-commit-id: e61d02701914ef72992f4215101932034c9e1955 [formerly 574b436182acaea0150fae9354eda683806448e0] [formerly 58cb547714a8ab0c091b54d44f83213b20d66368 [formerly 87cdc49740f693b1b66c1944080da56b055c6824]] Former-commit-id: bf8fd50e5d191795955b4b837120858abaeedacb [formerly 6c9e6c8c650bf2c2495d7f35d51f5c1252fd4113] Former-commit-id: d6291244b05c46535c79b42a41dc22031824876f --- SDK/src/NDK/Console.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/SDK/src/NDK/Console.cpp b/SDK/src/NDK/Console.cpp index dd379cd4a..94a80b749 100644 --- a/SDK/src/NDK/Console.cpp +++ b/SDK/src/NDK/Console.cpp @@ -320,9 +320,7 @@ namespace Ndk unsigned int lineHeight = m_defaultFont->GetSizeInfo(m_characterSize).lineHeight; Ndk::NodeComponent& inputNode = m_input->GetComponent(); - NazaraError(inputNode.GetPosition().ToString()); inputNode.SetPosition(0.f, m_size.y - lineHeight - 5.f); - NazaraError(inputNode.GetPosition().ToString()); float historyHeight = m_size.y - lineHeight - 5.f - 2.f; m_historyBackgroundSprite->SetSize(m_size.x, historyHeight); @@ -330,14 +328,10 @@ namespace Ndk m_maxHistoryLines = static_cast(std::ceil(historyHeight / lineHeight)); Ndk::NodeComponent& historyNode = m_history->GetComponent(); - NazaraError(historyNode.GetPosition().ToString()); historyNode.SetPosition(0.f, historyHeight - m_maxHistoryLines * lineHeight); - NazaraError(historyNode.GetPosition().ToString()); Ndk::NodeComponent& inputBackgroundNode = m_inputBackground->GetComponent(); - NazaraError(inputBackgroundNode.GetPosition().ToString()); inputBackgroundNode.SetPosition(0.f, historyHeight + 2.f); - NazaraError(inputBackgroundNode.GetPosition().ToString()); m_inputBackgroundSprite->SetSize(m_size.x, m_size.y - historyHeight); }