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:
Nathan Vegdahl
2023-12-11 12:06:38 +01:00
parent 089383a53a
commit 274dc815eb

View File

@@ -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) {