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 1c08984 + b9bdc35 commit 6b6f59c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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, 8),
"version": (4, 3, 9),
'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 @@ -813,5 +813,6 @@ def calculate_collection_center(self):

if len(centers) == 0:
self.export_settings['gltf_collection_center'] = Vector((0.0, 0.0, 0.0))
return

self.export_settings['gltf_collection_center'] = sum(centers, Vector()) / len(centers)

0 comments on commit 6b6f59c

Please sign in to comment.