diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2022-09-19 09:57:35 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-09-22 11:34:40 +0300 |
commit | 6552dc494f39489bfcffdda214bcddc62d9238e7 (patch) | |
tree | 454bcbebc7d523e9019c1f1bfb393813b509f6be | |
parent | 0f1e12d8d477217b7662f0f063552e11a5600afa (diff) |
glTF exporter: optimized animation size option was not saved when 'remember export settings'
-rwxr-xr-x | io_scene_gltf2/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py index be5feeb5..c61241ea 100755 --- a/io_scene_gltf2/__init__.py +++ b/io_scene_gltf2/__init__.py @@ -4,7 +4,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": (3, 3, 29), + "version": (3, 3, 30), 'blender': (3, 3, 0), 'location': 'File > Import-Export', 'description': 'Import-Export as glTF 2.0', @@ -394,7 +394,7 @@ class ExportGLTF2_Base: default=False ) - optimize_animation_size: BoolProperty( + export_optimize_animation_size: BoolProperty( name='Optimize Animation Size', description=( "Reduce exported file-size by removing duplicate keyframes" @@ -587,7 +587,7 @@ class ExportGLTF2_Base: export_settings['gltf_def_bones'] = False export_settings['gltf_nla_strips'] = self.export_nla_strips export_settings['gltf_nla_strips_merged_animation_name'] = self.export_nla_strips_merged_animation_name - export_settings['gltf_optimize_animation'] = self.optimize_animation_size + export_settings['gltf_optimize_animation'] = self.export_optimize_animation_size export_settings['gltf_export_anim_single_armature'] = self.export_anim_single_armature else: export_settings['gltf_frame_range'] = False @@ -946,7 +946,7 @@ class GLTF_PT_export_animation_export(bpy.types.Panel): layout.prop(operator, 'export_nla_strips') if operator.export_nla_strips is False: layout.prop(operator, 'export_nla_strips_merged_animation_name') - layout.prop(operator, 'optimize_animation_size') + layout.prop(operator, 'export_optimize_animation_size') layout.prop(operator, 'export_anim_single_armature') |