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