Merge from 2.5 r21160 through r21285
[blender.git] / source / blender / python / intern / bpy_operator_wrap.c
index 60a9afda0c4c5f77bd9939a8b2032f965ecef5df..17029412f4df6f66ec252bd6b23d09ae1760ea84 100644 (file)
@@ -331,7 +331,7 @@ PyObject *PYOP_wrap_add(PyObject *self, PyObject *py_class)
                {PYOP_ATTR_UINAME,              's', 0, BPY_CLASS_ATTR_OPTIONAL},
                {PYOP_ATTR_PROP,                'l', 0, BPY_CLASS_ATTR_OPTIONAL},
                {PYOP_ATTR_DESCRIPTION, 's', 0, BPY_CLASS_ATTR_NONE_OK},
-               {"execute",     'f', 2, BPY_CLASS_ATTR_OPTIONAL},
+               {"execute",     'f', 2, 0},
                {"invoke",      'f', 3, BPY_CLASS_ATTR_OPTIONAL},
                {"poll",        'f', 2, BPY_CLASS_ATTR_OPTIONAL},
                {NULL, 0, 0, 0}