Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-09-19 10:44:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-09-19 10:49:38 +0300
commit6844b02a71bd9d84af5bdbcb32eb49ea6ac552e7 (patch)
treec063bf3fc2eed4ab13160ae0e0b05cd92376f21e
parent631d08aaed39a52c1479cd014c9941824743b5c1 (diff)
Fix for building w/ Python3.6
m---------release/scripts/addons0
-rw-r--r--source/blender/python/generic/py_capi_utils.c2
2 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/addons b/release/scripts/addons
-Subproject 3fc5b82c6bdba2f9c954fbf497621b9bb794a1b
+Subproject 4ac0fa2ac50863f4884b1ee0003a37c50fa9332
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c
index 9e6ffe91848..cd86ed24bcb 100644
--- a/source/blender/python/generic/py_capi_utils.c
+++ b/source/blender/python/generic/py_capi_utils.c
@@ -666,7 +666,7 @@ void PyC_SetHomePath(const char *py_path_bundle)
bool PyC_IsInterpreterActive(void)
{
- return (((PyThreadState *)_Py_atomic_load_relaxed(&_PyThreadState_Current)) != NULL);
+ return (PyThreadState_GET() != NULL);
}
/* Would be nice if python had this built in