Hound: suggestions

This commit is contained in:
Jakub Jezek 2021-04-29 12:50:08 +02:00
parent 5faa0f9f21
commit 376c4bfa2d
No known key found for this signature in database
GPG key ID: D8548FBF690B100A
2 changed files with 2 additions and 3 deletions

View file

@ -10,7 +10,6 @@ class ExtractThumnail(openpype.api.Extractor):
label = "Extract Thumnail"
order = pyblish.api.ExtractorOrder
# order = pyblish.api.CollectorOrder
families = ["plate", "take"]
hosts = ["hiero"]
@ -31,7 +30,8 @@ class ExtractThumnail(openpype.api.Extractor):
duration = track_item.sourceDuration()
frame_start = track_item.sourceIn()
self.log.debug(
"__ frame_start: `{}`, duration: `{}`".format(frame_start, duration))
"__ frame_start: `{}`, duration: `{}`".format(
frame_start, duration))
# get thumbnail frame from the middle
thumb_frame = int(frame_start + (duration / 2))

View file

@ -7,7 +7,6 @@ from pprint import pformat
from openpype.hosts.hiero.otio import hiero_export
from Qt.QtGui import QPixmap
import tempfile
import hiero.ui
class PrecollectWorkfile(pyblish.api.ContextPlugin):
"""Inject the current working file into context"""