diff options
-rwxr-xr-x | release/datafiles/blender_icons_geom_update.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/release/datafiles/blender_icons_geom_update.py b/release/datafiles/blender_icons_geom_update.py index c9c95f52899..52db26d72dc 100755 --- a/release/datafiles/blender_icons_geom_update.py +++ b/release/datafiles/blender_icons_geom_update.py @@ -40,10 +40,11 @@ blender_bin = os.environ.get("BLENDER_BIN", "blender") if not os.path.exists(blender_bin): blender_bin = os.path.join(ROOTDIR, "blender.bin") -if sys.platform == 'darwin': - blender_app_path = '/Applications/blender.app/Contents/MacOS/blender' - if os.path.exists(blender_app_path): - blender_bin = blender_app_path +if not os.path.exists(blender_bin): + if sys.platform == 'darwin': + blender_app_path = '/Applications/blender.app/Contents/MacOS/blender' + if os.path.exists(blender_app_path): + blender_bin = blender_app_path icons_blend = ( os.path.join(ROOTDIR, "..", "lib", "resources", "icon_geom.blend"), |