python macro operators didnt have a compatible draw function assigned. also remove duplicate define.

This commit is contained in:
2009-12-30 20:15:28 +00:00
parent 9bf3ea58d2
commit 3702998fec
2 changed files with 2 additions and 3 deletions

View File

@@ -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);
}