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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-08-24 05:02:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-08-24 05:02:08 +0300
commit134e927965c9871df8a9e13806f1cd48f4d43f16 (patch)
tree0fc189f695bb26da47e81cd2c162eb72f90764f8 /source
parentefd07aaada6a74071175fd80d957fae3914b7440 (diff)
Manipulator: remove unused event hack
Diffstat (limited to 'source')
-rw-r--r--source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c3
-rw-r--r--source/blender/windowmanager/wm_event_types.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c b/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c
index 4ace8695555..6f322933e2a 100644
--- a/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c
+++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c
@@ -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;
diff --git a/source/blender/windowmanager/wm_event_types.h b/source/blender/windowmanager/wm_event_types.h
index 9d34bc24e6c..5ebaa9bc3e9 100644
--- a/source/blender/windowmanager/wm_event_types.h
+++ b/source/blender/windowmanager/wm_event_types.h
@@ -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. ********** */
};