Manipulator: remove unused event hack
This commit is contained in:
@@ -366,9 +366,6 @@ static int manipulator_tweak_modal(bContext *C, wmOperator *op, const wmEvent *e
|
||||
mpr->type->modal(C, mpr, event, mtweak->flag);
|
||||
}
|
||||
|
||||
/* Ugly hack to send manipulator events */
|
||||
((wmEvent *)event)->type = EVT_MANIPULATOR_UPDATE;
|
||||
|
||||
/* always return PASS_THROUGH so modal handlers
|
||||
* with manipulators attached can update */
|
||||
return OPERATOR_PASS_THROUGH;
|
||||
|
||||
@@ -338,9 +338,6 @@ enum {
|
||||
EVT_MODAL_MAP = 0x5022,
|
||||
EVT_DROP = 0x5023,
|
||||
EVT_BUT_CANCEL = 0x5024,
|
||||
|
||||
/* could become manipulator callback */
|
||||
EVT_MANIPULATOR_UPDATE = 0x5025,
|
||||
/* ********** End of Blender internal events. ********** */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user