Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5530 from ynput/bugfix/OP-3949_Traypublisher-plat…
Browse files Browse the repository at this point in the history
…e-publish
  • Loading branch information
jakubjezek001 authored Sep 7, 2023
2 parents 4f1638b + ab019e3 commit fc662b3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@
from openpype.pipeline import OptionalPyblishPluginMixin


class CollectFrameDataFromAssetEntity(pyblish.api.InstancePlugin,
OptionalPyblishPluginMixin):
"""Collect Frame Range data From Asset Entity
class CollectMissingFrameDataFromAssetEntity(
pyblish.api.InstancePlugin,
OptionalPyblishPluginMixin
):
"""Collect Missing Frame Range data From Asset Entity
Frame range data will only be collected if the keys
are not yet collected for the instance.
"""

order = pyblish.api.CollectorOrder + 0.491
label = "Collect Frame Data From Asset Entity"
label = "Collect Missing Frame Data From Asset Entity"
families = ["plate", "pointcache",
"vdbcache", "online",
"render"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ValidateFrameRange(OptionalPyblishPluginMixin,

label = "Validate Frame Range"
hosts = ["traypublisher"]
families = ["render"]
families = ["render", "plate"]
order = ValidateContentsOrder

optional = True
Expand Down
3 changes: 3 additions & 0 deletions openpype/plugins/publish/collect_sequence_frame_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,7 @@ def get_frame_data_from_repre_sequence(self, instance):
return {
"frameStart": repres_frames[0],
"frameEnd": repres_frames[-1],
"handleStart": 0,
"handleEnd": 0,
"fps": instance.context.data["assetEntity"]["data"]["fps"]
}

0 comments on commit fc662b3

Please sign in to comment.