mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
pop the value of reloadTextures before capture
This commit is contained in:
parent
950581fcd8
commit
39faa7001e
2 changed files with 2 additions and 2 deletions
|
|
@ -48,6 +48,8 @@ class ExtractPlayblast(publish.Extractor):
|
|||
and preset["viewport_options"].get("textures")
|
||||
):
|
||||
lib.reload_textures()
|
||||
|
||||
preset.pop("reloadTextures") # not supported by `capture`
|
||||
path = capture.capture(log=self.log, **preset)
|
||||
self.log.debug("playblast path {}".format(path))
|
||||
|
||||
|
|
|
|||
2
openpype/vendor/python/common/capture.py
vendored
2
openpype/vendor/python/common/capture.py
vendored
|
|
@ -760,8 +760,6 @@ def _applied_viewport_options(options, panel):
|
|||
# Try to set as much as possible of the state by setting them one by
|
||||
# one. This way we can also report the failing key values explicitly.
|
||||
for key, value in options.items():
|
||||
if key == "reloadTextures":
|
||||
continue
|
||||
try:
|
||||
cmds.modelEditor(panel, edit=True, **{key: value})
|
||||
except TypeError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue