diff --git a/README.md b/README.md index 4584530..a2aad4e 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,11 @@ This root can be manually changed in the settings (sidebar) of the export browse ### Changelog +1.3.2 + +- changed: zip packer ops label `Export File to .ZIP` >> `Zip Pack - keep hierachy` + 1.3.1 - added: prefs for file zipper (fallback to this if env is not defined) -- changed: zip operator id_name `bpy.ops.adm.export_zip` >> `bpy.opsbat.export_zip` \ No newline at end of file +- changed: zip operator id_name `bpy.ops.adm.export_zip` >> `bpy.ops.bat.export_zip` \ No newline at end of file diff --git a/__init__.py b/__init__.py index 490ba9e..fc0eace 100644 --- a/__init__.py +++ b/__init__.py @@ -25,7 +25,7 @@ __version__ = '1.3' bl_info = { "name": "Blender Asset Tracer", "author": "Campbell Barton, Sybren A. Stüvel, Loïc Charrière and Clément Ducarteron", - "version": (1, 3, 1), + "version": (1, 3, 2), "blender": (2, 80, 0), "location": "File > External Data > BAT", "description": "Utility for packing blend files", @@ -88,7 +88,7 @@ class ExportBatPack(Operator, ExportHelper): class BAT_OT_export_zip(Operator, ExportHelper): """Export current blendfile as .ZIP""" - bl_label = "Export File to .ZIP" + bl_label = "Zip Pack - keep hierachy" # Export File to .ZIP bl_idname = "bat.export_zip" filename_ext = '.zip' @@ -122,7 +122,7 @@ class BAT_OT_export_zip(Operator, ExportHelper): open the folder at the path given with cmd relative to user's OS """ - + from shutil import which my_os = sys.platform if my_os.startswith(('linux','freebsd')): cmd = 'xdg-open' @@ -242,7 +242,7 @@ class BAT_OT_export_zip(Operator, ExportHelper): with zipfile.ZipFile(output, 'a') as zipObj: zipObj.write(log_output, log_output.name) - ### MEME CHOSE QUE + ### Same as #zipObj = zipfile.ZipFile(output, 'a') #zipObj.write(log_output, log_output.name) #zipObj.close()