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>2009-12-30 23:15:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-12-30 23:15:28 +0300
commit3702998fec6d237eb567bb8353ac93c8d4a68d4c (patch)
treed7adfbfa4c21e8f1c82a1aef5aa7789a4a532d05 /source/blender/python/intern/bpy_operator_wrap.c
parent9bf3ea58d295e62c0d8d67cf98da3ee89c66aaea (diff)
python macro operators didnt have a compatible draw function assigned. also remove duplicate define.
Diffstat (limited to 'source/blender/python/intern/bpy_operator_wrap.c')
-rw-r--r--source/blender/python/intern/bpy_operator_wrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_operator_wrap.c b/source/blender/python/intern/bpy_operator_wrap.c
index 3bd18d98563..b3f281b4b3f 100644
--- a/source/blender/python/intern/bpy_operator_wrap.c
+++ b/source/blender/python/intern/bpy_operator_wrap.c
@@ -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);
}