diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-03-01 03:03:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-03-01 03:03:51 +0300 |
commit | fbb8672da459a027a7dd3ccb798b2f5db1c73c59 (patch) | |
tree | 1478a36908c3afb614e75ef7fac605589b7c753b /source/blender/python | |
parent | c4f562476806f06a67b807cd03a9419082ae03e3 (diff) |
replace operator options bl_undo and bl_register with bl_options
eg.
bl_options = {'REGISTER', 'UNDO', 'BLOCKING', 'GRAB_POINTER'}
This didnt exist when operators were originally wrapped.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_rna_callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_rna_callback.c b/source/blender/python/intern/bpy_rna_callback.c index ab97d7c3446..c71429a76af 100644 --- a/source/blender/python/intern/bpy_rna_callback.c +++ b/source/blender/python/intern/bpy_rna_callback.c @@ -71,7 +71,7 @@ PyObject *pyrna_callback_add(BPy_StructRNA *self, PyObject *args) if(RNA_struct_is_a(self->ptr.type, &RNA_Region)) { - EnumPropertyItem region_draw_mode_items[] = { + static EnumPropertyItem region_draw_mode_items[] = { {REGION_DRAW_POST_VIEW, "POST_VIEW", 0, "Pose View", ""}, {REGION_DRAW_POST_PIXEL, "POST_PIXEL", 0, "Post Pixel", ""}, {REGION_DRAW_PRE_VIEW, "PRE_VIEW", 0, "Pre View", ""}, |