From 5683f01cea5c11522a8e81e85ad3131aae2bfeda Mon Sep 17 00:00:00 2001 From: Mark Moissette Date: Sat, 14 Oct 2023 14:21:16 +0200 Subject: [PATCH] fix(tools:gltf_auto_export): fixed issue with subcollections not being exported for blueprints (#25) --- tools/gltf_auto_export/gltf_auto_export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gltf_auto_export/gltf_auto_export.py b/tools/gltf_auto_export/gltf_auto_export.py index 229fee8..367778f 100644 --- a/tools/gltf_auto_export/gltf_auto_export.py +++ b/tools/gltf_auto_export/gltf_auto_export.py @@ -2,7 +2,7 @@ bl_info = { "name": "gltf_auto_export", "author": "kaosigh", "version": (0, 2), - "blender": (3, 4, 0), + "blender": (3, 4, 1), "location": "File > Import-Export", "description": "glTF/glb auto-export", "warning": "", @@ -328,7 +328,7 @@ def export_collections(scene, folder_path, addon_prefs, gltf_export_preferences) gltf_output_path = os.path.join(folder_path, collection_name) - export_settings = { **gltf_export_preferences, 'use_active_scene': True, 'use_active_collection': True} #'use_visible': False, + export_settings = { **gltf_export_preferences, 'use_active_scene': True, 'use_active_collection': True, 'use_active_collection_with_nested':True} #'use_visible': False, export_gltf(gltf_output_path, export_settings) # reset active collection to the one we save before