[Bf-blender-cvs] [4e052148580] temp-sybren-usd-patch-01: USD: made `bool weak_export` `const`

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


Commit: 4e052148580f49330b2cdb008a4a98a32f626207
Author: Sybren A. Stüvel
Date:   Tue Nov 26 13:48:32 2019 +0100
Branches: temp-sybren-usd-patch-01
https://developer.blender.org/rB4e052148580f49330b2cdb008a4a98a32f626207

USD: made `bool weak_export` `const`

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

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 6c12280f29f..d9a23f33aae 100644
--- a/source/blender/usd/intern/abstract_hierarchy_iterator.cc
+++ b/source/blender/usd/intern/abstract_hierarchy_iterator.cc
@@ -177,7 +177,7 @@ void AbstractHierarchyIterator::export_graph_construct()
     }
 
     // Non-instanced objects always have their object-parent as export-parent.
-    bool weak_export = !should_export_object(object);
+    const bool weak_export = !should_export_object(object);
     visit_object(object, object->parent, weak_export);
 
     if (weak_export) {



More information about the Bf-blender-cvs mailing list