mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-11-21 19:44:18 +00:00
fix(gltf_auto_export): fixed nested collections export (#126)
This commit is contained in:
parent
0d708b800e
commit
0083295a4d
@ -1,7 +1,7 @@
|
|||||||
bl_info = {
|
bl_info = {
|
||||||
"name": "gltf_auto_export",
|
"name": "gltf_auto_export",
|
||||||
"author": "kaosigh",
|
"author": "kaosigh",
|
||||||
"version": (0, 12, 0),
|
"version": (0, 12, 1),
|
||||||
"blender": (3, 4, 0),
|
"blender": (3, 4, 0),
|
||||||
"location": "File > Import-Export",
|
"location": "File > Import-Export",
|
||||||
"description": "glTF/glb auto-export",
|
"description": "glTF/glb auto-export",
|
||||||
|
@ -58,7 +58,14 @@ def copy_hollowed_collection_into(source_collection, destination_collection, par
|
|||||||
if parent_empty is not None:
|
if parent_empty is not None:
|
||||||
collection_placeholder.parent = parent_empty
|
collection_placeholder.parent = parent_empty
|
||||||
|
|
||||||
nested_results = copy_hollowed_collection_into(collection, destination_collection, collection_placeholder, filter, collection_instances_combine_mode, library_collections)
|
nested_results = copy_hollowed_collection_into(
|
||||||
|
source_collection = collection,
|
||||||
|
destination_collection = destination_collection,
|
||||||
|
parent_empty = collection_placeholder,
|
||||||
|
filter = filter,
|
||||||
|
library_collections = library_collections,
|
||||||
|
addon_prefs=addon_prefs
|
||||||
|
)
|
||||||
sub_root_objects = nested_results["root_objects"]
|
sub_root_objects = nested_results["root_objects"]
|
||||||
sub_special_properties = nested_results["special_properties"]
|
sub_special_properties = nested_results["special_properties"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user