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>2014-12-08 11:45:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2014-12-08 11:45:47 +0300
commit7ba2b37a8a7837695c74d354f44084c2f917adba (patch)
tree789121ee298fe8567f89a64aff67afbd14f50333 /source/blender/windowmanager/WM_types.h
parentb88e700df453eba0a512688fba6e25f4cdc3edf0 (diff)
Cleanup: remove unused operator-type member
Diffstat (limited to 'source/blender/windowmanager/WM_types.h')
-rw-r--r--source/blender/windowmanager/WM_types.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h
index d9924cfb053..2db34bbd392 100644
--- a/source/blender/windowmanager/WM_types.h
+++ b/source/blender/windowmanager/WM_types.h
@@ -557,9 +557,7 @@ typedef struct wmOperatorType {
/* pointer to modal keymap, do not free! */
struct wmKeyMap *modalkeymap;
- /* only used for operators defined with python
- * use to store pointers to python functions */
- void *pyop_data;
+ /* python needs the operator type as well */
int (*pyop_poll)(struct bContext *, struct wmOperatorType *ot) ATTR_WARN_UNUSED_RESULT;
/* RNA integration */