mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
hound shut
This commit is contained in:
parent
803236c9c5
commit
e9c9be0b57
2 changed files with 2 additions and 3 deletions
|
|
@ -3,7 +3,7 @@ from openpype.pipeline import OptionalPyblishPluginMixin
|
|||
|
||||
|
||||
class CollectFrameDataFromAssetEntity(pyblish.api.InstancePlugin,
|
||||
OptionalPyblishPluginMixin):
|
||||
OptionalPyblishPluginMixin):
|
||||
"""Collect Frame Range data From Asset Entity
|
||||
"""
|
||||
|
||||
|
|
|
|||
|
|
@ -16,11 +16,10 @@ class CollectSequenceFrameData(pyblish.api.InstancePlugin):
|
|||
def process(self, instance):
|
||||
frame_data = self.get_frame_data_from_repre_sequence(instance)
|
||||
for key, value in frame_data.items():
|
||||
if key not in instance.data :
|
||||
if key not in instance.data:
|
||||
instance.data[key] = value
|
||||
self.log.debug(f"Frame range data {key} has been collected ")
|
||||
|
||||
|
||||
def get_frame_data_from_repre_sequence(self, instance):
|
||||
repres = instance.data.get("representations")
|
||||
if repres:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue