Commit Graph
191 Commits
Author SHA1 Message Date
Sybren A. Stüvel 0e392f27c9 BlendPath.__repr__ implemented 2019-01-02 15:14:50 +01:00
Sybren A. Stüvel 19216cb12e BlendPath.as_path() now refuses to convert blendfile-relative paths
When a path starts with b'//' it will not be converted to a PurePath, as
the handling of such filenames is platform dependent (Windows handles those
weirdly, like appending a slash to any path).
2019-01-02 15:14:50 +01:00
Sybren A. Stüvel 5635895d0c Attempt at making BAT work on Windows
All BlendPath instances will use forward slashes, and there should be
more use of PurePosixPath instead of Path.
2019-01-02 15:14:50 +01:00
Sybren A. Stüvel 37578811d7 Upgraded dependencies 2018-12-20 14:23:12 +01:00
Sybren A. Stüvel 4bc5484c23 Fixed MyPy issue 2018-12-20 14:23:06 +01:00
Sybren A. Stüvel c331b99dc6 Fixed leaking file descriptors in unit tests
These weren't any issue in Linux, but Windows doesn't like it when you
try to delete a still-opened file.
2018-12-20 14:04:23 +01:00
Sybren A. Stüvel fd316c4594 Bumped version to 0.7 v0.7 2018-12-06 10:02:40 +01:00
Sybren A. Stüvel 37ad8f8dfc Added --relative-only option to bat pack command
This makes BAT skip assets that are referred to with an absolute path.
It is assumed that the receiver of the BAT pack can access those assets
at the same path.
2018-12-06 10:02:14 +01:00
Sybren A. Stüvel 041af5d3bb Bumped version to 0.6.1 v0.6.1 2018-11-30 14:03:31 +01:00
Sybren A. Stüvel 5fa99981de blocks: Allow choosing number of DNA types shown via --limit CLI arg 2018-11-30 14:03:20 +01:00
Sybren A. Stüvel 595c02a07d Bumped version to 0.6 v0.6 2018-11-30 13:59:33 +01:00
Sybren A. Stüvel 78981ce9f1 Added 'bat blocks' command that shows the DNA types that use the most data
It's work in progress and maybe not useful for anyone but us.
2018-11-30 13:59:20 +01:00
Sybren A. Stüvel b52faa6e75 Added Twine to dev requirements
Twine is the recommended way to upload files to PyPi.
v0.5
2018-11-27 16:06:51 +01:00
Sybren A. Stüvel e898b678dc Typo 2018-11-27 16:00:50 +01:00
Sybren A. Stüvel fd1c04c752 Added instructions on how to upload packages to pypi 2018-11-27 15:59:58 +01:00
Sybren A. Stüvel 16521f5fc5 Removed logging options from setup.cfg again
The % symbols confuse setup.py when running 'setup.py sdist bdist_wheel',
and I couldn't quickly figure out how to escape those properly.
2018-11-27 15:59:43 +01:00
Sybren A. Stüvel 7b9312b684 Bumped version to 0.5 2018-11-27 15:51:19 +01:00
Sybren A. Stüvel 33512d42cf Multi-threaded compressed file transfers
For regular file transfers (so to a directory, not to a ZIP file or S3
storage), use multi-threaded transfer when compressing. Compressing is
CPU-bound, so using multiple threads speeds things up considerably
(packing a Spring lighting file went from 6min30 single-threaded to
2min13 multi-threaded on my machine).
2018-11-27 15:50:20 +01:00
Sybren A. Stüvel b6c0d01e45 bat pack --help improvements 2018-11-27 14:37:15 +01:00
Sybren A. Stüvel 521c7e1916 Added --compress option for 'bat pack' command
This compresses all packed Blend files. Other files, as well as already-
compressed Blend files, are left as-is.
2018-11-27 14:29:37 +01:00
Sybren A. Stüvel c1aaa3aab3 Add some log level configuration to py.test config
Not sure if we want a global DEBUG setting; if it becomes annoying, change it.
2018-11-27 14:29:37 +01:00
Jeroen Bakker 7c80320b30 Support for cloth ptcaches stored on disk
Currently pointcaches on disk for cloth sims were not traced. This patch allows the tracing of pointcaches for cloth sims.

Reviewers: sybren, fsiddi

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D3910
2018-11-08 10:25:45 +01:00
Sybren A. Stüvel 0b5e034a92 Fix MyPy errors when running without boto3 installed 2018-11-07 13:03:07 +01:00
Sybren A. Stüvel 43e8a7e370 Include version in --help output 2018-07-11 12:44:29 +02:00
Sybren A. Stüvel 439f727815 Bumped version to 0.5-dev 2018-07-10 16:03:30 +02:00
Sybren A. Stüvel 0e7411a42b Bumped version to 0.4 v0.4 2018-07-10 16:03:00 +02:00
Sybren A. Stüvel d7b06f0644 Blender 2.8 compatibility of image datablock 2018-07-10 16:02:14 +02:00
Sybren A. Stüvel 504b50178b Moved from requirements.txt to pipenv for package management 2018-07-10 16:02:14 +02:00
Sybren A. Stüvel 38b3e2b55c Fixed a whole bunch of MyPy errors
New release of mypy picks up more.
2018-07-10 16:02:14 +02:00
Philipp Oeser 4e1c2d1bbb Fix T55542: BAT doesn't pack smoke cache 2018-07-06 11:01:44 +02:00
Sybren A. Stüvel 893c1f2231 Convert hexified ID name to upper case
Our test case accidentally has a numerical-only hex representation, which
doesn't show this issue.
2018-07-05 11:53:38 +02:00
Sybren A. Stüvel 63118d250c Bumped version to 0.4-dev 2018-07-03 15:07:34 +02:00
Sybren A. Stüvel 8a308ef6e4 Bumped version to 0.3 v0.3 2018-07-03 15:06:27 +02:00
Sybren A. Stüvel 0b96635953 Fix T55539: BAT doesn't pack particle caches 2018-07-03 15:05:15 +02:00
Sybren A. Stüvel aa8e2a8cdd Tracer fix for T55539
This only fixes the tracer; the problem with the packer still exists.
2018-07-03 15:05:15 +02:00
Sybren A. Stüvel f75f35ae77 Swap 'expected' and 'actual' arguments
Python itself doesn't make any distinction (it just logs 'a != b') but
PyCharm does.
2018-07-03 14:30:59 +02:00
Sybren A. Stüvel 26c5d2dbfc Unignore some paths 2018-07-03 14:00:53 +02:00
Sybren A. Stüvel d103056558 Flush the Packer callback queue when closing 2018-07-03 13:01:36 +02:00
Sybren A. Stüvel f1cfc28a1c Report skipped files 2018-07-03 13:00:10 +02:00
Sybren A. Stüvel 7fe06c247b Also report transfer progress on MOVE
Previously transfers were only reported when copying files.
2018-07-03 12:56:08 +02:00
Sybren A. Stüvel 6edc15594d Added utility function to fetching structs by name 2018-07-03 12:34:00 +02:00
Sybren A. Stüvel f7a18ba07d Support nested collections in Blender 2.8 2018-06-13 17:40:05 +02:00
Sybren A. Stüvel 5f966934df Blender 2.8 fixes because of removed Material.mtex and Material.group 2018-06-07 15:18:18 +02:00
Sybren A. Stüvel dfa07e19cc Fix T55007: Support fluid simulation cache files
This also adds support for entire directory paths to be assets, in
addition to globs and numbered file sequences.
2018-06-05 15:12:10 +02:00
Sybren A. Stüvel fc144138d0 Better transfer error handling 2018-06-05 15:12:10 +02:00
Sybren A. Stüvel 44c4ce3a69 Speed up packing
The .get() function raises a queue.Empty exception anyway, so there was
no real need for the .empty() call. Furthermore, it turned out to really
slow things down.
2018-06-05 15:12:10 +02:00
Sybren A. Stüvel 7e4fa34aae Added missing image in documentation 2018-06-05 15:12:10 +02:00
Sybren A. Stüvel acfd8357e1 Bumped version to 0.3-dev 2018-05-08 12:51:00 +02:00
Sybren A. Stüvel 7ce2c3094a Bumped version to 0.2 v0.2 2018-05-08 12:50:37 +02:00
Sybren A. Stüvel 285a88793a Debug-log skipping of packed datablocks. 2018-05-08 12:15:56 +02:00