forked from Onek8/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)
|
shutil.rmtree(fp + '/windows-resources', onerror=remove_readonly)
|
||||||
if os.path.isdir(fp + '/linux-resources'):
|
if os.path.isdir(fp + '/linux-resources'):
|
||||||
shutil.rmtree(fp + '/linux-resources', onerror=remove_readonly)
|
shutil.rmtree(fp + '/linux-resources', onerror=remove_readonly)
|
||||||
if os.path.isdir(fp + '/osx-resources'):
|
if os.path.isdir(fp + '/macos-resources'):
|
||||||
shutil.rmtree(fp + '/osx-resources', onerror=remove_readonly)
|
shutil.rmtree(fp + '/macos-resources', onerror=remove_readonly)
|
||||||
|
|
||||||
def invalidate_compiled_data(self, context):
|
def invalidate_compiled_data(self, context):
|
||||||
global invalidate_enabled
|
global invalidate_enabled
|
||||||
|
|||||||
Reference in New Issue
Block a user