mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
BigRoy's comment
This commit is contained in:
parent
67964bec3a
commit
61ce75f0c9
2 changed files with 8 additions and 4 deletions
|
|
@ -756,7 +756,10 @@ def get_camera_from_container(container):
|
|||
|
||||
|
||||
def update_job_var_context():
|
||||
"""Validate job path to ensure it matches the settings."""
|
||||
"""Update $JOB to match current context.
|
||||
|
||||
This will only do something if the setting is enabled in project settings.
|
||||
"""
|
||||
|
||||
project_settings = get_current_project_settings()
|
||||
job_var_settings = \
|
||||
|
|
@ -796,5 +799,4 @@ def update_job_var_context():
|
|||
"insufficient permissions."
|
||||
)
|
||||
|
||||
print(" - Context changed, update $JOB respectively to "
|
||||
+ job_path)
|
||||
print(" - Updated $JOB to {}".format(job_path))
|
||||
|
|
|
|||
|
|
@ -8,7 +8,9 @@ sidebar_label: Houdini
|
|||
|
||||
The Houdini `$JOB` path can be customized through project settings with a (dynamic) path that will be updated on context changes, e.g. when switching to another asset or task.
|
||||
|
||||
> If the folder does not exist on the context change it will be created by this feature so that `$JOB` will always try to point to an existing folder.
|
||||
:::note
|
||||
If the folder does not exist on the context change it will be created by this feature so that `$JOB` will always try to point to an existing folder.
|
||||
:::
|
||||
|
||||
Disabling this feature will leave `$JOB` var unmanaged and thus no context update changes will occur.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue