mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
make sure reloadtextures is popped when it exists in the preset dict
This commit is contained in:
parent
84f58241a6
commit
69c45c517f
2 changed files with 2 additions and 3 deletions
|
|
@ -48,8 +48,7 @@ class ExtractPlayblast(publish.Extractor):
|
|||
and preset["viewport_options"].get("textures")
|
||||
):
|
||||
lib.reload_textures()
|
||||
|
||||
preset.pop("reloadTextures") # not supported by `capture`
|
||||
preset.pop("reloadTextures") # not supported by `capture`
|
||||
path = capture.capture(log=self.log, **preset)
|
||||
self.log.debug("playblast path {}".format(path))
|
||||
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ class ExtractThumbnail(publish.Extractor):
|
|||
and preset["viewport_options"].get("textures")
|
||||
):
|
||||
lib.reload_textures()
|
||||
preset.pop("reloadTextures") # not supported by `capture`
|
||||
preset.pop("reloadTextures") # not supported by `capture`
|
||||
path = capture.capture(**preset)
|
||||
playblast = self._fix_playblast_output_path(path)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue