mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
make sure the contextlib.nested used before material loading while it is compatible for both python2 and 3
This commit is contained in:
parent
28a62bff59
commit
4648895291
3 changed files with 39 additions and 29 deletions
|
|
@ -172,8 +172,9 @@ def maintained_selection():
|
|||
cmds.select(clear=True)
|
||||
|
||||
|
||||
def reload_textures():
|
||||
"""Reload textures during playblast
|
||||
def reload_all_udim_tile_previews():
|
||||
"""Regenerate all UDIM tile preview in texture file
|
||||
nodes during context
|
||||
"""
|
||||
texture_files = cmds.ls(type="file")
|
||||
if texture_files:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue