8 Commits

Author SHA1 Message Date
c298e448b0 Harden BAT against missing/broken libraries and zstandard failures
- ExportBatPack and BAT_OT_export_zip: catch EnvironmentError (typically
  raised when zstandard is missing or the installed wheel is incompatible
  with the embedded Python) and any other exception, and report it via
  self.report instead of crashing the operator.
- file2blocks.BlockIterator: skip libraries that fail to open with a
  warning instead of aborting the whole trace, so production blends with
  one stale linked library still pack.
- preferences: use __package__ (stable, full dotted path) for the
  AddonPreferences bl_idname instead of __name__.split('.')[0], which
  breaks when the add-on is loaded under an unexpected module name.
- magic_compression: zstandard handling tweaks alongside the operator
  error reports above.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 15:24:32 +02:00
pullusb
45d58c588f Change file permissions from 644 to 775 2024-11-26 10:59:31 +01:00
pullusb
fc32ebd453 update BAT module to 1.15 version 2023-01-10 11:41:55 +01:00
Pullusb
85037c027a Add project root env fallback
1.3.4

- added: `PROJECT_ROOT` key is used if `ZIP_ROOT` is not specified. Fallback to initial property if neither exists
- added: checkbox to disable env variable check
2022-01-07 00:08:18 +01:00
Pullusb
dd82a38956 set module name
1.3.3

- code: sys.module name corrected when addon folder isn't named `blender_asset_tracer` as expected
2021-12-11 17:24:02 +01:00
Pullusb
5af5c18f94 changed zip pack label
1.3.2

- changed: zip packer ops label `Export File to .ZIP` >> `Zip Pack - keep hierachy`
2021-11-19 12:48:05 +01:00
Pullusb
e2610a882e added prefs for file zipper
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`
2021-10-18 17:05:56 +02:00
Pullusb
3c5cca81a5 initial commit 2021-10-18 15:54:04 +02:00