This commit is contained in:
Jakub Jezek 2022-04-27 17:27:29 +02:00
parent ca0e6592db
commit df81486d30
No known key found for this signature in database
GPG key ID: 3C8D077E6A2D3688
2 changed files with 5 additions and 9 deletions

View file

@ -25,18 +25,14 @@ class CollectFrameTagInstances(pyblish.api.ContextPlugin):
# collect all sequence tags
subset_data = self._create_frame_subset_data_sequence(context)
self.log.debug("__ subset_data: {}".format(
pformat(subset_data)
))
# if sequence tags and frame type then create instances
# create instances
self._create_instances(subset_data)
# collect all instance tags
## if instance tags and frame type then create instances
pass
def _get_tag_data(self, tag):
data = {}
@ -61,7 +57,7 @@ class CollectFrameTagInstances(pyblish.api.ContextPlugin):
value = v
else:
value = ast.literal_eval(v)
except (ValueError, SyntaxError) as msg:
except (ValueError, SyntaxError):
value = v
data[key] = value
@ -85,7 +81,7 @@ class CollectFrameTagInstances(pyblish.api.ContextPlugin):
tag_data = self._get_tag_data(tag)
self.log.debug("__ tag_data: {}".format(
pformat(tag_data)
))
))
if not tag_data:
continue

View file

@ -79,4 +79,4 @@ class ExtractFrames(openpype.api.Extractor):
"files": [os.path.basename(x) for x in files],
"stagingDir": staging_dir
}
]
]