diff options
Diffstat (limited to 'io_scene_gltf2/blender/exp/gltf2_blender_export.py')
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_export.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_export.py b/io_scene_gltf2/blender/exp/gltf2_blender_export.py index 06af24cc..94babf78 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_export.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_export.py @@ -49,21 +49,15 @@ def save(context, export_settings): def __export(export_settings): - exporter = GlTF2Exporter(__get_copyright(export_settings)) + exporter = GlTF2Exporter(export_settings) __gather_gltf(exporter, export_settings) buffer = __create_buffer(exporter, export_settings) - exporter.finalize_images(export_settings[gltf2_blender_export_keys.FILE_DIRECTORY]) + exporter.finalize_images() json = __fix_json(exporter.glTF.to_dict()) return json, buffer -def __get_copyright(export_settings): - if export_settings[gltf2_blender_export_keys.COPYRIGHT]: - return export_settings[gltf2_blender_export_keys.COPYRIGHT] - return None - - def __gather_gltf(exporter, export_settings): active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings) |