work: restore shift+spacebar for media play/pause
maybe put in maya config? idk what funiman's preference is
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# SPDX-FileCopyrightText: 2026 Blender Authors
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
"""BAT v2 packing to the filesystem."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
__all__ = ("pack_start",)
|
||||
|
||||
from pathlib import Path
|
||||
from typing import Any, TypeAlias
|
||||
|
||||
# Alias some types from blender_asset_tracer so that we can use type annotations
|
||||
# without having to import from BATv2.
|
||||
BATPackReporter: TypeAlias = Any
|
||||
BATPacker: TypeAlias = Any
|
||||
|
||||
|
||||
def pack_start(
|
||||
project_root: Path,
|
||||
reporter: BATPackReporter,
|
||||
*,
|
||||
use_relative_only: bool,
|
||||
pack_target_dir: Path,
|
||||
ignore_globs: set[str] = set(),
|
||||
) -> BATPacker:
|
||||
"""Investigate what's needed to create a BAT pack."""
|
||||
from .submodules import file_usage, pack
|
||||
|
||||
batpacker = pack.BATPacker(
|
||||
project_root,
|
||||
file_usage.Options(
|
||||
use_relative_only=use_relative_only,
|
||||
ignore_globs=ignore_globs,
|
||||
),
|
||||
reporter,
|
||||
pack_target_dir=pack_target_dir,
|
||||
)
|
||||
return batpacker
|
||||
Reference in New Issue
Block a user