python macro operators didnt have a compatible draw function assigned. also remove duplicate define.
This commit is contained in:
@@ -79,7 +79,6 @@ void OBJECT_OT_restrictview_clear(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_proxy_make(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_shade_smooth(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_shade_flat(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_bake_image(struct wmOperatorType *ot);
|
||||
|
||||
/* object_select.c */
|
||||
void OBJECT_OT_select_all(struct wmOperatorType *ot);
|
||||
|
||||
@@ -255,9 +255,9 @@ static int PYTHON_OT_poll(bContext *C, wmOperatorType *ot)
|
||||
return PYTHON_OT_generic(PYOP_POLL, C, ot, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
static void PYTHON_OT_draw(bContext *C, wmOperator *op, uiLayout *layout)
|
||||
static void PYTHON_OT_draw(bContext *C, wmOperator *op)
|
||||
{
|
||||
PYTHON_OT_generic(PYOP_DRAW, C, op->type, op, NULL, layout);
|
||||
PYTHON_OT_generic(PYOP_DRAW, C, op->type, op, NULL, op->layout);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user