[Bf-blender-cvs] [1770d462ccd] universal-scene-description: USD export: fix armature export.

Michael Kowalski noreply at git.blender.org
Wed Jul 27 18:25:03 CEST 2022


Commit: 1770d462ccd27e7f5c50571ff3584dc580ad5991
Author: Michael Kowalski
Date:   Wed Jul 27 12:23:21 2022 -0400
Branches: universal-scene-description
https://developer.blender.org/rB1770d462ccd27e7f5c50571ff3584dc580ad5991

USD export: fix armature export.

Fixed a bug that was preventing armature writers
from being created, due to a missing break statement,
introduced after the latest merge from master.

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

M	source/blender/io/usd/intern/usd_hierarchy_iterator.cc

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

diff --git a/source/blender/io/usd/intern/usd_hierarchy_iterator.cc b/source/blender/io/usd/intern/usd_hierarchy_iterator.cc
index 5cb7ac059f4..5dcd42ace2b 100644
--- a/source/blender/io/usd/intern/usd_hierarchy_iterator.cc
+++ b/source/blender/io/usd/intern/usd_hierarchy_iterator.cc
@@ -174,6 +174,7 @@ AbstractHierarchyWriter *USDHierarchyIterator::create_data_writer(const Hierarch
       }
       else
         return nullptr;
+      break;
     case OB_VOLUME:
       data_writer = new USDVolumeWriter(usd_export_context);
       break;



More information about the Bf-blender-cvs mailing list