diff options
Diffstat (limited to 'source/blender/depsgraph/intern/debug/deg_debug.cc')
-rw-r--r-- | source/blender/depsgraph/intern/debug/deg_debug.cc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/depsgraph/intern/debug/deg_debug.cc b/source/blender/depsgraph/intern/debug/deg_debug.cc index a6c4b59e7df..b811f11f721 100644 --- a/source/blender/depsgraph/intern/debug/deg_debug.cc +++ b/source/blender/depsgraph/intern/debug/deg_debug.cc @@ -34,27 +34,27 @@ namespace DEG { bool terminal_do_color(void) { - return (G.debug & G_DEBUG_DEPSGRAPH_PRETTY) != 0; + return (G.debug & G_DEBUG_DEPSGRAPH_PRETTY) != 0; } string color_for_pointer(const void *pointer) { - if (!terminal_do_color()) { - return ""; - } - int r, g, b; - BLI_hash_pointer_to_color(pointer, &r, &g, &b); - char buffer[64]; - BLI_snprintf(buffer, sizeof(buffer), TRUECOLOR_ANSI_COLOR_FORMAT, r, g, b); - return string(buffer); + if (!terminal_do_color()) { + return ""; + } + int r, g, b; + BLI_hash_pointer_to_color(pointer, &r, &g, &b); + char buffer[64]; + BLI_snprintf(buffer, sizeof(buffer), TRUECOLOR_ANSI_COLOR_FORMAT, r, g, b); + return string(buffer); } string color_end(void) { - if (!terminal_do_color()) { - return ""; - } - return string(TRUECOLOR_ANSI_COLOR_FINISH); + if (!terminal_do_color()) { + return ""; + } + return string(TRUECOLOR_ANSI_COLOR_FINISH); } } // namespace DEG |