mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
code tweaks on getting texture from the viewport_options dict
This commit is contained in:
parent
2d85b5f106
commit
950581fcd8
2 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ class ExtractPlayblast(publish.Extractor):
|
|||
)
|
||||
if (
|
||||
preset["viewport_options"].get("reloadTextures")
|
||||
and "textures" in preset["viewport_options"]
|
||||
and preset["viewport_options"].get("textures")
|
||||
):
|
||||
lib.reload_textures()
|
||||
path = capture.capture(log=self.log, **preset)
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ class ExtractThumbnail(publish.Extractor):
|
|||
)
|
||||
if (
|
||||
preset["viewport_options"].get("reloadTextures")
|
||||
and "textures" in preset["viewport_options"]
|
||||
and preset["viewport_options"].get("textures")
|
||||
):
|
||||
lib.reload_textures()
|
||||
path = capture.capture(**preset)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue