mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Missing class data.
This commit is contained in:
parent
2fdd137380
commit
e214062047
1 changed files with 2 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ class ExtractPlayblast(publish.Extractor):
|
|||
families = ["review"]
|
||||
optional = True
|
||||
capture_preset = {}
|
||||
displayLights = ["default", "all", "selected", "active", "none"]
|
||||
|
||||
def process(self, instance):
|
||||
self.log.info("Extracting capture..")
|
||||
|
|
@ -97,7 +98,7 @@ class ExtractPlayblast(publish.Extractor):
|
|||
refreshFrameInt = int(pm.playbackOptions(q=True, minTime=True))
|
||||
pm.currentTime(refreshFrameInt - 1, edit=True)
|
||||
pm.currentTime(refreshFrameInt, edit=True)
|
||||
|
||||
|
||||
# Show lighting mode.
|
||||
index = instance.data.get("displayLights", 0)
|
||||
preset["viewport_options"]["displayLights"] = self.displayLights[index]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue