X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fupdate%2Fmanager%2Fupdate-manager-debug.cpp;h=093f779817a130ebb44a27b93a5832a78a56eea1;hb=9ac94c145f620fc90c39a0f3dadbd88cc4b01940;hp=c5f61598b93bafeeb57601dba52af30759ad4884;hpb=be285a5aa0ba77ea635e8d8c2692d585ca30630e;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/update/manager/update-manager-debug.cpp b/dali/internal/update/manager/update-manager-debug.cpp index c5f6159..093f779 100644 --- a/dali/internal/update/manager/update-manager-debug.cpp +++ b/dali/internal/update/manager/update-manager-debug.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,8 @@ #include #include +#ifdef DALI_PRINT_UPDATE_INFO + namespace Dali { @@ -48,7 +50,6 @@ static Debug::Filter* gNodeLogFilter = Debug::Filter::New(Debug::Verbose, false, */ void PrintNodes( const Node& node, BufferIndex updateBufferIndex, int level ) { -#if defined(DEBUG_ENABLED) const Vector3& position = node.GetPosition(updateBufferIndex); const Vector3& scale = node.GetScale(updateBufferIndex); const Vector3& fullPos = node.GetWorldPosition(updateBufferIndex); @@ -94,13 +95,10 @@ void PrintNodes( const Node& node, BufferIndex updateBufferIndex, int level ) { PrintNodes(**iter, updateBufferIndex, level); } -#endif // DEBUG_ENABLED } void PrintNodeTree( const Node& node, BufferIndex bufferIndex, std::string indentation ) { -#if defined(DEBUG_ENABLED) - std::cout << "Node " << &node << " \"" << node.mDebugString << "\"" << " Origin: " << node.GetParentOrigin() @@ -135,8 +133,6 @@ void PrintNodeTree( const Node& node, BufferIndex bufferIndex, std::string inden PrintNodeTree(**iter, bufferIndex, nextIndent); } - -#endif // DEBUG_ENABLED } } // SceneGraph @@ -144,3 +140,5 @@ void PrintNodeTree( const Node& node, BufferIndex bufferIndex, std::string inden } // Internal } // Dali + +#endif