mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
preset pop value should be correct
This commit is contained in:
parent
cec780afc8
commit
b73146a538
2 changed files with 4 additions and 2 deletions
|
|
@ -49,7 +49,8 @@ class ExtractPlayblast(publish.Extractor):
|
|||
else:
|
||||
self.log.debug(
|
||||
"Reload Textures during playblasting is disabled.")
|
||||
preset.pop("reloadTextures", None) # not supported by `capture`
|
||||
# not supported by `capture`
|
||||
preset["viewport_options"].pop("reloadTextures", None)
|
||||
path = capture.capture(log=self.log, **preset)
|
||||
self.log.debug("playblast path {}".format(path))
|
||||
|
||||
|
|
|
|||
|
|
@ -158,7 +158,8 @@ class ExtractThumbnail(publish.Extractor):
|
|||
else:
|
||||
self.log.debug(
|
||||
"Reload Textures during playblasting is disabled.")
|
||||
preset.pop("reloadTextures", None)
|
||||
# not supported by `capture`
|
||||
preset["viewport_options"].pop("reloadTextures", None)
|
||||
path = capture.capture(**preset)
|
||||
playblast = self._fix_playblast_output_path(path)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue