Blender Kitsu: Refactor Shot Builder #183

Merged
Nick Alberelli merged 55 commits from TinyNick/blender-studio-pipeline:feature/shot-builder-2 into main 2023-12-21 23:58:21 +01:00
Showing only changes of commit 9ee761769b - Show all commits

View File

@ -103,9 +103,7 @@ class Hooks:
shot_builder_config_dir = root_dir.joinpath("pro/assets/scripts/shot-builder") shot_builder_config_dir = root_dir.joinpath("pro/assets/scripts/shot-builder")
if not shot_builder_config_dir.exists(): if not shot_builder_config_dir.exists():
raise Exception("Shot Builder Hooks directory does not exist") raise Exception("Shot Builder Hooks directory does not exist")
paths = [ paths = [shot_builder_config_dir.resolve().__str__()]
shot_builder_config_dir.resolve().__str__() # TODO Make variable path
] # TODO Set path to where hooks are stored
with SystemPathInclude(paths) as _include: with SystemPathInclude(paths) as _include:
try: try:
import hooks as production_hooks import hooks as production_hooks