glTF exporter: optimized animation size option was not saved when 'remember export settings'
This commit is contained in:
parent
0f1e12d8d4
commit
6552dc494f
Notes:
blender-bot
2023-02-13 13:22:30 +01:00
Referenced by issue blender/blender#100749: Blender LTS: Maintenance Task 3.3 Referenced by issue blender/blender#100749, Blender LTS: Maintenance Task 3.3
|
@ -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')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue