mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #46 from ynput/bugfix/set-only-available-end-variables
Core: Do not force asset and task during publishing
This commit is contained in:
commit
2b593c2271
1 changed files with 4 additions and 1 deletions
|
|
@ -61,7 +61,10 @@ class CollectFromCreateContext(pyblish.api.ContextPlugin):
|
|||
("AVALON_ASSET", asset_name),
|
||||
("AVALON_TASK", task_name)
|
||||
):
|
||||
os.environ[key] = value
|
||||
if value is None:
|
||||
os.environ.pop(key, None)
|
||||
else:
|
||||
os.environ[key] = value
|
||||
|
||||
def create_instance(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue