Skip to content

Commit

Permalink
Fix glTF light intensity units
Browse files Browse the repository at this point in the history
  • Loading branch information
passivestar committed Apr 19, 2024
1 parent d17985d commit a4bcad1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

bl_info = {
'name': 'QuickMenu',
'version': (3, 0, 6),
'version': (3, 0, 7),
'author': 'passivestar',
'blender': (4, 1, 0),
'location': 'Press the hotkey in 3D View',
Expand Down Expand Up @@ -1219,6 +1219,7 @@ def execute(self, context):
export_cameras=True,
export_keep_originals=True,
export_extras=True,
export_import_convert_lighting_mode='COMPAT',
use_selection=self.selected_object,
filepath=file_directory + filename + '.glb'
)
Expand All @@ -1230,6 +1231,7 @@ def execute(self, context):
export_cameras=True,
export_keep_originals=True,
export_extras=True,
export_import_convert_lighting_mode='COMPAT',
use_selection=self.selected_object,
use_active_collection=self.batch_mode == 'COLLECTION',
filepath = os.path.join(file_directory, active_collection_name_clean if self.batch_mode == 'COLLECTION' else filename + '.gltf')
Expand Down

0 comments on commit a4bcad1

Please sign in to comment.