diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-25 07:31:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-25 07:31:02 +0300 |
commit | 46587b3ccb0ec842500ce2c3f2359b78550aad0f (patch) | |
tree | d18ac799a1158e2a7de848e015ae30a037bb268b /source/blender/python/intern/bpy_rna.c | |
parent | f2c77558b429a5ee25326c097a567600ef3c1f88 (diff) |
PyAPI: support for Python paint cursors
Diffstat (limited to 'source/blender/python/intern/bpy_rna.c')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 6a525ec40c6..32d8c01be76 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -8459,6 +8459,9 @@ typedef struct BPyRNA_CallBack { static struct BPyRNA_CallBack pyrna_cb_methods[] = { {{"draw_handler_add", (PyCFunction)pyrna_callback_classmethod_add, METH_VARARGS | METH_STATIC, ""}, &RNA_Space}, {{"draw_handler_remove", (PyCFunction)pyrna_callback_classmethod_remove, METH_VARARGS | METH_STATIC, ""}, &RNA_Space}, + + {{"draw_cursor_add", (PyCFunction)pyrna_callback_classmethod_add, METH_VARARGS | METH_STATIC, ""}, &RNA_WindowManager}, + {{"draw_cursor_remove", (PyCFunction)pyrna_callback_classmethod_remove, METH_VARARGS | METH_STATIC, ""}, &RNA_WindowManager}, {{NULL, NULL, 0, NULL}, NULL} }; |