From 3dfceecace6e5797f2c05d215f5967658066bc17 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Fri, 26 Oct 2012 16:17:48 +0000 Subject: Bugfix: because of fixed event checking, the 'area zone' didn't work anymore. Event that gets added should get zero'ed value. --- source/blender/editors/screen/screen_ops.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/screen') diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index eacf7c7032d..cfe32e05506 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -628,6 +628,7 @@ static void actionzone_apply(bContext *C, wmOperator *op, int type) event.type = EVT_ACTIONZONE_AREA; else event.type = EVT_ACTIONZONE_REGION; + event.val = 0; event.customdata = op->customdata; event.customdatafree = TRUE; op->customdata = NULL; -- cgit v1.2.3