2021-10-18 15:54:04 +02:00
|
|
|
# BAT (blender asset tracer)
|
|
|
|
|
2021-11-29 15:27:19 +01:00
|
|
|
Modified version of [Blender's BAT](https://developer.blender.org/source/blender-asset-tracer/browse/master/blender_asset_tracer/)
|
2021-10-18 17:05:56 +02:00
|
|
|
|
2021-11-29 15:27:19 +01:00
|
|
|
Modifications:
|
2021-10-18 17:05:56 +02:00
|
|
|
|
2021-11-29 15:27:19 +01:00
|
|
|
- Additional export **Zip pack - keep hierarchy**
|
2021-11-29 15:30:28 +01:00
|
|
|
Standard Bat pack is doing an "assembly", modifying file internal links. This zip pack leave the file untouched. Behavior description:
|
|
|
|
- The root folder for zipping use the environment variable `ZIP_ROOT` (accessed with `os.getenv('ZIP_ROOT')` if defined).
|
2022-01-07 00:08:18 +01:00
|
|
|
- if `ZIP_ROOT` is not defined, use `PROJECT_ROOT` variable.
|
|
|
|
- If there is no such env variables, it fallback to path specified in addon preferences.
|
|
|
|
- A checkbox allow to avoid the replacement of root properties with env variables.
|
2021-11-29 15:30:28 +01:00
|
|
|
- In the export browser window settings (sidebar), user can choose the packing root folder, prefilled by env or addon preference path
|
|
|
|
- If nothing specified, root will be automatically defined with the most upper folder covering the whole dependancies hierarchy.
|
2021-10-18 17:05:56 +02:00
|
|
|
|
2021-11-29 15:30:28 +01:00
|
|
|
- Add all UDIM texture in pack
|
2021-10-18 17:05:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
### Changelog
|
|
|
|
|
2022-01-07 00:08:18 +01:00
|
|
|
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
|
|
|
|
|
2021-12-11 17:24:02 +01:00
|
|
|
1.3.3
|
|
|
|
|
|
|
|
- code: sys.module name corrected when addon folder isn't named `blender_asset_tracer` as expected
|
|
|
|
|
2021-11-19 12:48:05 +01:00
|
|
|
1.3.2
|
|
|
|
|
|
|
|
- changed: zip packer ops label `Export File to .ZIP` >> `Zip Pack - keep hierachy`
|
|
|
|
|
2021-10-18 17:05:56 +02:00
|
|
|
1.3.1
|
|
|
|
|
|
|
|
- added: prefs for file zipper (fallback to this if env is not defined)
|
2021-11-19 12:48:05 +01:00
|
|
|
- changed: zip operator id_name `bpy.ops.adm.export_zip` >> `bpy.ops.bat.export_zip`
|