glTF exporter: Make sure to not modify virtual tree
This commit is contained in:
parent
bc44a075d1
commit
9b0f1dbde8
Notes:
blender-bot
2023-02-13 15:16:32 +01:00
Referenced by issue blender/blender#98661: 3.2: Potential candidates for corrective releases Referenced by issue blender/blender#98661, 3.2: Potential candidates for corrective releases
|
@ -4,7 +4,7 @@
|
|||
bl_info = {
|
||||
'name': 'glTF 2.0 format',
|
||||
'author': 'Julien Duroure, Scurest, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors',
|
||||
"version": (3, 2, 41),
|
||||
"version": (3, 2, 42),
|
||||
'blender': (3, 1, 0),
|
||||
'location': 'File > Import-Export',
|
||||
'description': 'Import-Export as glTF 2.0',
|
||||
|
|
|
@ -13,7 +13,7 @@ def get_sk_drivers(blender_armature_uuid, export_settings):
|
|||
drivers = []
|
||||
|
||||
# Take into account skinned mesh, and mesh parented to a bone of the armature
|
||||
children_list = export_settings['vtree'].nodes[blender_armature_uuid].children
|
||||
children_list = export_settings['vtree'].nodes[blender_armature_uuid].children.copy()
|
||||
for bone in export_settings['vtree'].get_all_bones(blender_armature_uuid):
|
||||
children_list.extend(export_settings['vtree'].nodes[bone].children)
|
||||
|
||||
|
|
Loading…
Reference in New Issue