mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
rename regenerateUVTilePreview as reload_textures
This commit is contained in:
parent
15923ddf9c
commit
2b98ac1ef2
3 changed files with 4 additions and 4 deletions
|
|
@ -174,8 +174,8 @@ def maintained_selection():
|
|||
cmds.select(clear=True)
|
||||
|
||||
|
||||
def regenerate_uv_tile_preview():
|
||||
"""Regenerate UV Tile Preview during playblast
|
||||
def reload_textures():
|
||||
"""Reload textures during playblast
|
||||
"""
|
||||
original_texture_loading = cmds.ogs(query=True, reloadTextures=True)
|
||||
texture_files = cmds.ls(type="file")
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ class ExtractPlayblast(publish.Extractor):
|
|||
)
|
||||
)
|
||||
if "textures" in preset["viewport_options"]:
|
||||
lib.regenerate_uv_tile_preview()
|
||||
lib.reload_textures()
|
||||
path = capture.capture(log=self.log, **preset)
|
||||
self.log.debug("playblast path {}".format(path))
|
||||
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ class ExtractThumbnail(publish.Extractor):
|
|||
)
|
||||
)
|
||||
if "textures" in preset["viewport_options"]:
|
||||
lib.regenerate_uv_tile_preview()
|
||||
lib.reload_textures()
|
||||
path = capture.capture(**preset)
|
||||
playblast = self._fix_playblast_output_path(path)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue