mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
Add comment and fix typo in variable
This commit is contained in:
parent
b307973ed9
commit
11fbd15094
1 changed files with 3 additions and 2 deletions
|
|
@ -16,6 +16,7 @@ class CollectMindbenderImageSequences(pyblish.api.ContextPlugin):
|
|||
|
||||
# Force towards a single json sequence (override searching
|
||||
# the current working directory)
|
||||
# TODO: This logic should be simplified
|
||||
USE_JSON = os.environ.get("USE_JSON", "")
|
||||
if USE_JSON:
|
||||
workspace = os.path.dirname(USE_JSON)
|
||||
|
|
@ -54,7 +55,7 @@ class CollectMindbenderImageSequences(pyblish.api.ContextPlugin):
|
|||
raise Exception("%s was not published correctly "
|
||||
"(missing metadata)" % renderlayer)
|
||||
|
||||
metadat_instance = metadata['instance']
|
||||
metadata_instance = metadata['instance']
|
||||
# For now ensure this data is ignored
|
||||
for collection in collections:
|
||||
instance = context.create_instance(str(collection))
|
||||
|
|
@ -62,7 +63,7 @@ class CollectMindbenderImageSequences(pyblish.api.ContextPlugin):
|
|||
|
||||
# Ensure each instance gets its own unique reference to
|
||||
# the source data
|
||||
instance_metadata = copy.deepcopy(metadat_instance)
|
||||
instance_metadata = copy.deepcopy(metadata_instance)
|
||||
|
||||
data = dict(instance_metadata, **{
|
||||
"name": instance.name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue