add reloadTextures argument back to cmds.ogs

This commit is contained in:
Kayla Man 2023-12-20 23:56:40 +08:00
parent 746e34aa55
commit 8ce8d72c03

View file

@ -183,6 +183,7 @@ def reload_all_udim_tile_previews():
for texture_file in texture_files:
if cmds.getAttr("{}.uvTilingMode".format(texture_file)) > 0:
cmds.ogs(regenerateUVTilePreview=texture_file)
cmds.ogs(reloadTextures=True)
@contextlib.contextmanager