Fix: update collada export code to use the new bone collections array
I missed this in the previous commit, which broke building Blender.
This commit is contained in:
@@ -39,7 +39,7 @@ void ArmatureExporter::add_bone_collections(Object *ob_arm, COLLADASW::Node &nod
|
||||
|
||||
std::stringstream collection_stream;
|
||||
std::stringstream visible_stream;
|
||||
LISTBASE_FOREACH (const BoneCollection *, bcoll, &armature->collections) {
|
||||
for (const BoneCollection *bcoll : armature->collections_span()) {
|
||||
collection_stream << bcoll->name << "\n";
|
||||
|
||||
if (bcoll->flags & BONE_COLLECTION_VISIBLE) {
|
||||
|
||||
Reference in New Issue
Block a user