Bugfix: because of fixed event checking, the 'area zone' didn't work anymore.

Event that gets added should get zero'ed value.
This commit is contained in:
Ton Roosendaal
2012-10-26 16:17:48 +00:00
parent 37bf6ef044
commit 3dfceecace

View File

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