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

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


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

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