glTF export: ignore variant extras

This commit is contained in:
Julien Duroure
2025-01-16 21:29:37 +01:00
parent b71d8484e2
commit 4dccaf5fae
2 changed files with 4 additions and 2 deletions

View File

@@ -5,7 +5,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": (4, 4, 31),
"version": (4, 4, 32),
'blender': (4, 4, 0),
'location': 'File > Import-Export',
'description': 'Import-Export as glTF 2.0',

View File

@@ -8,7 +8,9 @@ from .json_util import is_json_convertible
# Custom properties, which are in most cases present and should not be imported/exported.
BLACK_LIST = ['cycles', 'cycles_visibility', 'cycles_curves', 'glTF2ExportSettings', 'gltf2_mesh_applied']
BLACK_LIST = ['cycles', 'cycles_visibility', 'cycles_curves', 'glTF2ExportSettings', 'gltf2_mesh_applied',
'gltf2_KHR_materials_variants_variants', 'gltf2_active_variant', 'gltf2_variant_default_materials', 'gltf2_variant_mesh_data'
]
def generate_extras(blender_element):