I create custom hook for tk-multi-loader, it work when I copy in the project. But I want to know if it's possible to use it in all the project without copying it in each folder.
4 comments
-
Permanently deleted user Hello!
That's a great suggestion! At the moment, it is not possible to create studio-level hooks - the configuration is per-project only. However, we are actually working on a feature to support this right now, so it will go out in a core release in the next week or too! I'll reply to this thread once it has gone out!
Thanks!
Manne
-
Mathieu Leblanc Great, thanks!
-
Permanently deleted user Hello! In v0.14.44 we introduced a number of new hook syntax formats, which we will gradually be rolling out and documenting of the next couple of days. For now, check out the release notes for details: https://support.shotgunsoftware.com/entries/95441107
It is now possible to use an environment variable to control the location of a hook, using the following syntax:
hook_setting: "{$HOOK_PATH}/path/to/foo.py"
In addition to this, we also added a couple of other formats which we will transition to going forward, hopefully resulting in a clearer and more flexible setup.
-
Mathieu Leblanc Cool! Thanks