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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2014-02-13 02:13:45 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-02-13 02:14:57 +0400
commite43c3ad88af70617f7708a82c0189f202681ac67 (patch)
tree996e3af3e853c5c1b9697cef9d611077fcccecd3 /intern/cycles/blender/blender_util.h
parent9cc380e02668a7ff4c28e9541cfe84fdb1ff47ba (diff)
Fix issue in recent bugfix, did not work with multiple sessions (preview render).
Diffstat (limited to 'intern/cycles/blender/blender_util.h')
-rw-r--r--intern/cycles/blender/blender_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/blender/blender_util.h b/intern/cycles/blender/blender_util.h
index c9048cd8a28..58e523d7fc2 100644
--- a/intern/cycles/blender/blender_util.h
+++ b/intern/cycles/blender/blender_util.h
@@ -37,8 +37,8 @@ float *BKE_image_get_float_pixels_for_frame(void *image, int frame);
CCL_NAMESPACE_BEGIN
-void python_thread_state_save();
-void python_thread_state_restore();
+void python_thread_state_save(void **python_thread_state);
+void python_thread_state_restore(void **python_thread_state);
static inline BL::Mesh object_to_mesh(BL::BlendData data, BL::Object object, BL::Scene scene, bool apply_modifiers, bool render, bool calc_undeformed)
{