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:
Diffstat (limited to 'source/blender/freestyle/intern/python/Id.h')
-rw-r--r--source/blender/freestyle/intern/python/Id.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/Id.h b/source/blender/freestyle/intern/python/Id.h
index 608ff3eef99..d5e90a0a3e5 100644
--- a/source/blender/freestyle/intern/python/Id.h
+++ b/source/blender/freestyle/intern/python/Id.h
@@ -16,8 +16,7 @@ extern "C" {
extern PyTypeObject Id_Type;
-#define BPy_Id_Check(v) \
- ((v)->ob_type == &Id_Type)
+#define BPy_Id_Check(v) (( (PyObject *) v)->ob_type == &Id_Type)
/*---------------------------Python BPy_Id structure definition----------*/
typedef struct {