nerdvegas / rez-shotgun

Rez extension for Shotgun Toolkit
Apache License 2.0
22 stars 5 forks source link

Move Shotgun Toolkit hooks into it's own repository #1

Closed j0yu closed 4 years ago

j0yu commented 4 years ago

Contribute our in-house, updated Shotgun rez_app_launch hook designed for tk-config-default2.

Changes made by:

Google Groups discussion: https://groups.google.com/forum/#!topic/rez-config/BSRuFNxBAkk

See Also

Original PR 823 and Issue 822 from official Rez repository Files at last commit of the PR: 2be03b01

To Do After initial release

This hook is executed to launch applications, potentially in a Rez context.

It is NOT official/supported by Shotgun Software, but by third-party contributors

Please note that this requires Rez to be installed as a package, i.e. able to rez env rez, which exposes the Rez Python API.

With a proper Rez installation, you can do this by running rez-bind rez.

To keep a copy of the original rez_app_launch.py, there are 2 variants available:

As of writing, the 2 rez_app_launch.py was tested at WWFX UK using rez 2.28.0. Newer rez versions may be tested in the future.