mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Hound: suggestions
This commit is contained in:
parent
5faa0f9f21
commit
376c4bfa2d
2 changed files with 2 additions and 3 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue