mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
hound
This commit is contained in:
parent
0ae3ef03d2
commit
04f9d4caaa
2 changed files with 12 additions and 11 deletions
|
|
@ -230,7 +230,7 @@ def playblast_capture(preset, instance):
|
|||
|
||||
|
||||
def generate_capture_preset(instance, camera, path,
|
||||
start=None, end=None, capture_preset={}):
|
||||
start=None, end=None, capture_preset=None):
|
||||
"""Function for getting all the data of preset options for
|
||||
playblast capturing
|
||||
|
||||
|
|
|
|||
|
|
@ -51,16 +51,17 @@ class ExtractThumbnail(publish.Extractor):
|
|||
capture_preset=capture_preset)
|
||||
|
||||
preset["camera_options"].update({
|
||||
"displayGateMask": False,
|
||||
"displayResolution": False,
|
||||
"displayFilmGate": False,
|
||||
"displayFieldChart": False,
|
||||
"displaySafeAction": False,
|
||||
"displaySafeTitle": False,
|
||||
"displayFilmPivot": False,
|
||||
"displayFilmOrigin": False,
|
||||
"overscan": 1.0,
|
||||
"depthOfField": cmds.getAttr("{0}.depthOfField".format(camera)),
|
||||
"displayGateMask": False,
|
||||
"displayResolution": False,
|
||||
"displayFilmGate": False,
|
||||
"displayFieldChart": False,
|
||||
"displaySafeAction": False,
|
||||
"displaySafeTitle": False,
|
||||
"displayFilmPivot": False,
|
||||
"displayFilmOrigin": False,
|
||||
"overscan": 1.0,
|
||||
"depthOfField": cmds.getAttr(
|
||||
"{0}.depthOfField".format(camera))
|
||||
}
|
||||
)
|
||||
path = lib.playblast_capture(preset, instance)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue