Commit: 7ba2b37a8a7837695c74d354f44084c2f917adba
Author: Campbell Barton
Date: Mon Dec 8 09:45:47 2014 +0100
Branches: master
https://developer.blender.org/rB7ba2b37a8a7837695c74d354f44084c2f917adba
Cleanup: remove unused operator-type member
===================================================================
M source/blender/windowmanager/WM_types.h
===================================================================
diff --git a/source/blender/windowmanager/WM_types.h
b/source/blender/windowmanager/WM_types.h
index d9924cf..2db34bb 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 */
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs