[Bf-blender-cvs] [af134597cc4] temp-sybren-usd-patch-01: USD: removed terminal colour codes

Sybren A. Stüvel noreply at git.blender.org
Tue Nov 26 18:22:35 CET 2019


Commit: af134597cc4237ab43db377c2fff951e8548adda
Author: Sybren A. Stüvel
Date:   Tue Nov 26 13:46:30 2019 +0100
Branches: temp-sybren-usd-patch-01
https://developer.blender.org/rBaf134597cc4237ab43db377c2fff951e8548adda

USD: removed terminal colour codes

===================================================================

M	source/blender/usd/intern/abstract_hierarchy_iterator.cc

===================================================================

diff --git a/source/blender/usd/intern/abstract_hierarchy_iterator.cc b/source/blender/usd/intern/abstract_hierarchy_iterator.cc
index 48c27edc2e1..6c12280f29f 100644
--- a/source/blender/usd/intern/abstract_hierarchy_iterator.cc
+++ b/source/blender/usd/intern/abstract_hierarchy_iterator.cc
@@ -144,7 +144,7 @@ void AbstractHierarchyIterator::debug_print_export_graph() const
       if (child_ctx->duplicator == nullptr) {
         printf("       - %s%s%s\n",
                child_ctx->object->id.name + 2,
-               child_ctx->weak_export ? " \033[97m(weak)\033[0m" : "",
+               child_ctx->weak_export ? " (weak)" : "",
                child_ctx->original_export_path.size() ?
                    (std::string("ref ") + child_ctx->original_export_path).c_str() :
                    "");
@@ -153,7 +153,7 @@ void AbstractHierarchyIterator::debug_print_export_graph() const
         printf("       - %s (dup by %s%s) %s\n",
                child_ctx->object->id.name + 2,
                child_ctx->duplicator->id.name + 2,
-               child_ctx->weak_export ? ", \033[97mweak\033[0m" : "",
+               child_ctx->weak_export ? ", weak" : "",
                child_ctx->original_export_path.size() ?
                    (std::string("ref ") + child_ctx->original_export_path).c_str() :
                    "");



More information about the Bf-blender-cvs mailing list