From 8b8626547b95b8844f32ecacb17d728cea8359d7 Mon Sep 17 00:00:00 2001 From: Georg Bernhard Date: Wed, 1 Sep 2021 15:27:44 +0200 Subject: [PATCH] Blender 3.0.0 compatibility --- alphamesh_addon.py | 8 ++++++-- alphamesh_addon.zip | Bin 5255 -> 5278 bytes 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/alphamesh_addon.py b/alphamesh_addon.py index 42a0e15..a877de1 100644 --- a/alphamesh_addon.py +++ b/alphamesh_addon.py @@ -3,7 +3,7 @@ bl_info = { "name": "Alpha Mesh addon", "author": "Georg Gogo. BERNHARD ", - "version": (0, 2, 2), + "version": (0, 2, 3), "blender": (2, 82, 0), "location": "Properties > Object Tab", "description": ("Alpha Mesh addon (using SciPy)"), @@ -31,7 +31,11 @@ import numpy as np from scipy.spatial import Delaunay except ImportError as e: - bpy_executable = bpy.app.binary_path_python + try: + bpy_executable = bpy.app.binary_path_python + except AttributeError: + bpy_executable = sys.executable + hint = """ ERROR: Alphamesh addon could not be installed Run this and try again: diff --git a/alphamesh_addon.zip b/alphamesh_addon.zip index ec39a4c43553101cf6312184a30dbcaea48b3692..12518af506cb4661ebec5d1e9661e73181756e72 100644 GIT binary patch delta 4983 zcmV--6Nv1GDV`}9P)h>@6aWAK2mm*GAyc#afF|S<002x!kr*8YS${8KTz`=}O@G-& z5&;kdKoA7MeMC;uVimrlY(-AuIM2v(Ltf`Mxjz~$(;&&Nb21@cM+AOW7Otr^CKg8_ z94AB^%Mz1cc_}uJPIp;WxX%+f|gZ68Tp-DEdQcWMP}hr z(T^#M%A}CcPHz;%sacZUkgF(pzi}JVG9kn$ehC=OvLXB#8hy%wkf} zFBM5LL5`6k%xEf!B)3UWm#Ls4zEx!y-O{rA8OB3z@^XXU#2~D1qfxRh@_(`-%VMLS zbEclyMn6``nyTk@Sgq7^RBZ~%M%QJ&=HH3>PLtFl*J+-YqA|+T6#7hX01_sq*I}Jj zaS~MxBWsYGzyO|nPF=xYfEL0kFFo=eCE$^d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