From a4bcad13617621e4d396f218e59678bb6aa8d52c Mon Sep 17 00:00:00 2001 From: passivestar <60579014+passivestar@users.noreply.github.com> Date: Fri, 19 Apr 2024 23:36:46 +0400 Subject: [PATCH] Fix glTF light intensity units --- __init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 08fb7c7..a77be8d 100644 --- a/__init__.py +++ b/__init__.py @@ -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', @@ -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' ) @@ -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')