Update leenkx/blender/lnx/assets.py

This commit is contained in:
Gorochu
2026-05-29 22:12:50 +00:00
parent eb5b73a163
commit 5aec4c9c30

View File

@ -148,8 +148,8 @@ def invalidate_shader_cache(self, context):
shutil.rmtree(fp + '/windows-resources', onerror=remove_readonly)
if os.path.isdir(fp + '/linux-resources'):
shutil.rmtree(fp + '/linux-resources', onerror=remove_readonly)
if os.path.isdir(fp + '/osx-resources'):
shutil.rmtree(fp + '/osx-resources', onerror=remove_readonly)
if os.path.isdir(fp + '/macos-resources'):
shutil.rmtree(fp + '/macos-resources', onerror=remove_readonly)
def invalidate_compiled_data(self, context):
global invalidate_enabled