Skip to content

Commit

Permalink
Merge branch 'blender-v4.2-release'
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduroure committed Jul 4, 2024
2 parents 2de1bb3 + 4319011 commit 1c08984
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addons/io_scene_gltf2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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, 3, 7),
"version": (4, 3, 8),
'blender': (4, 2, 0),
'location': 'File > Import-Export',
'description': 'Import-Export as glTF 2.0',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from ...io.com import gltf2_io
from ...io.com import gltf2_io_extensions
from ...io.exp.gltf2_io_user_extensions import export_user_extensions
from ..com.gltf2_blender_extras import generate_extras
from ..com.gltf2_blender_extras import generate_extras, BLACK_LIST
from ..com.gltf2_blender_default import LIGHTS
from ..com import gltf2_blender_math
from . import gltf2_blender_gather_tree
Expand Down Expand Up @@ -303,7 +303,7 @@ def __gather_mesh(vnode, blender_object, export_settings):
depsgraph = bpy.context.evaluated_depsgraph_get()
blender_mesh_owner = blender_object.evaluated_get(depsgraph)
blender_mesh = blender_mesh_owner.to_mesh(preserve_all_data_layers=True, depsgraph=depsgraph)
for prop in blender_object.data.keys():
for prop in [p for p in blender_object.data.keys() if p not in BLACK_LIST]:
blender_mesh[prop] = blender_object.data[prop]

if export_settings['gltf_skins']:
Expand Down

0 comments on commit 1c08984

Please sign in to comment.