Blender Kitsu: Set Custom Thumbnail during Playblast #77
@ -244,7 +244,12 @@ class KITSU_OT_playblast_create(bpy.types.Operator):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Add_preview_to_comment
|
# Add_preview_to_comment
|
||||||
task.add_preview_to_comment(comment, filepath.as_posix(), frame_number=self.frame_number)
|
# Playblast file always starts at frame 0, account for this in thumbnail frame selection
|
||||||
|
task.add_preview_to_comment(
|
||||||
|
comment,
|
||||||
|
filepath.as_posix(),
|
||||||
|
frame_number=self.frame_number - context.scene.frame_start,
|
||||||
|
)
|
||||||
|
|
||||||
# Preview.set_main_preview()
|
# Preview.set_main_preview()
|
||||||
logger.info(f"Uploaded playblast for shot: {shot.name} under: {task_type.name}")
|
logger.info(f"Uploaded playblast for shot: {shot.name} under: {task_type.name}")
|
||||||
|
Loading…
Reference in New Issue
Block a user