work: restore shift+spacebar for media play/pause

maybe put in maya config? idk what funiman's preference is
This commit is contained in:
Nathan
2026-05-29 14:58:59 -06:00
parent 2f8e5f472f
commit 6c3b78075b
130 changed files with 10461 additions and 19696 deletions
+11
View File
@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: 2026 Blender Authors
# SPDX-License-Identifier: GPL-3.0-or-later
# This is the interface to BAT v1.x
def bat_version() -> str:
from .submodules import bat_toplevel
bat_version: str = bat_toplevel.__version__
return bat_version
+9 -2
View File
@@ -539,6 +539,13 @@ def _encode_original_filename_header(filename: str) -> str:
"""
# This is a no-op when the filename is already in ASCII.
fake_header = email.header.Header()
fake_header = email.header.Header(maxlinelen=0)
fake_header.append(filename, charset="utf-8")
return fake_header.encode()
encoded_header = fake_header.encode()
# Make sure that there are no newlines in the returned value.
# HTTP Header line folding is obsolete, see RFC9112 section 5.2 in
# https://www.rfc-editor.org/rfc/rfc9112#name-obsolete-line-folding
assert "\n" not in encoded_header
return encoded_header
@@ -4,5 +4,6 @@ from .. import wheels
_bat_modules = wheels.load_wheel(
"blender_asset_tracer",
("blendfile", "pack", "pack.progress", "pack.transfer", "pack.shaman", "bpathlib"),
filename_prefix="blender_asset_tracer-1.",
)
bat_toplevel, blendfile, pack, progress, transfer, shaman, bpathlib = _bat_modules