forked from LeenkxTeam/LNXSDK
Update leenkx/blender/lnx/assets.py
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user