Update leenkx/blender/lnx/props_exporter.py

This commit is contained in:
Gorochu
2026-05-29 22:27:11 +00:00
parent 89e6beeed2
commit bef25f6a1a

View File

@ -43,6 +43,8 @@ def update_gapi_linux(self, context):
def update_gapi_mac(self, context): def update_gapi_mac(self, context):
if os.path.isdir(lnx.utils.get_fp_build() + '/osx-build'): if os.path.isdir(lnx.utils.get_fp_build() + '/osx-build'):
shutil.rmtree(lnx.utils.get_fp_build() + '/osx-build', onerror=remove_readonly) shutil.rmtree(lnx.utils.get_fp_build() + '/osx-build', onerror=remove_readonly)
if os.path.isdir(lnx.utils.get_fp_build() + '/macos-hl-build'):
shutil.rmtree(lnx.utils.get_fp_build() + '/macos-hl-build', onerror=remove_readonly)
bpy.data.worlds['Lnx'].lnx_recompile = True bpy.data.worlds['Lnx'].lnx_recompile = True
assets.invalidate_compiled_data(self, context) assets.invalidate_compiled_data(self, context)