Commit: 0a5fdb6354ddaf405522d2161078f1570a981603
Author: Campbell Barton
Date:   Fri Oct 30 22:06:06 2015 +1100
Branches: master
https://developer.blender.org/rB0a5fdb6354ddaf405522d2161078f1570a981603

Python: check version binary name first

Check version name first since 'python' binary may be a different version.

===================================================================

M       source/blender/blenkernel/intern/appdir.c

===================================================================

diff --git a/source/blender/blenkernel/intern/appdir.c 
b/source/blender/blenkernel/intern/appdir.c
index 639a502..dd961ea 100644
--- a/source/blender/blenkernel/intern/appdir.c
+++ b/source/blender/blenkernel/intern/appdir.c
@@ -600,7 +600,7 @@ bool BKE_appdir_program_python_search(
        const char *basename = "python";
        char python_ver[16];
        /* check both possible names */
-       const char *python_names[] = {basename, python_ver};
+       const char *python_names[] = {python_ver, basename};
        int i;
 
        bool is_found = false;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to