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:
authorTon Roosendaal <ton@blender.org>2011-03-07 17:56:19 +0300
committerTon Roosendaal <ton@blender.org>2011-03-07 17:56:19 +0300
commit2818add58689b2c126662dc2db056a06a5f937ff (patch)
treebc7e776506d63f4a411989f07a10efb80831e26c /source/blender/editors/transform
parentc9685af1ffc0ee4cfb5411de04fbfd317b05af4d (diff)
From the OFTL:
Arrows-move-cursor is back! It now works for any running modal operator that doesn't handle own arrow keys. Might need to become more restricted though, some modal ops don't need it. Want to investigate that still where conflicts are.
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index 64901e9ded3..e342ce6769a 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -54,22 +54,10 @@
#include "RNA_access.h"
-//#include "BIF_editview.h" /* arrows_move_cursor */
#include "BIF_gl.h"
#include "BIF_glutil.h"
-//#include "BIF_mywindow.h"
-//#include "BIF_resources.h"
-//#include "BIF_screen.h"
-//#include "BIF_space.h" /* undo */
-//#include "BIF_toets.h" /* persptoetsen */
-//#include "BIF_mywindow.h" /* warp_pointer */
-//#include "BIF_toolbox.h" /* notice */
-//#include "BIF_editmesh.h"
-//#include "BIF_editsima.h"
-//#include "BIF_editparticle.h"
#include "BKE_nla.h"
-//#include "BKE_bad_level_calls.h"/* popmenu and error */
#include "BKE_bmesh.h"
#include "BKE_context.h"
#include "BKE_constraint.h"
@@ -78,8 +66,6 @@
#include "BKE_pointcache.h"
#include "BKE_unit.h"
-//#include "BSE_view.h"
-
#include "ED_image.h"
#include "ED_keyframing.h"
#include "ED_screen.h"
@@ -551,9 +537,6 @@ wmKeyMap* transform_modal_keymap(wmKeyConfig *keyconf)
WM_modalkeymap_add_item(keymap, AKEY, KM_PRESS, 0, 0, TFM_MODAL_ADD_SNAP);
WM_modalkeymap_add_item(keymap, AKEY, KM_PRESS, KM_ALT, 0, TFM_MODAL_REMOVE_SNAP);
- WM_modalkeymap_add_item(keymap, UPARROWKEY, KM_PRESS, 0, 0, NUM_MODAL_INCREMENT_UP);
- WM_modalkeymap_add_item(keymap, DOWNARROWKEY, KM_PRESS, 0, 0, NUM_MODAL_INCREMENT_DOWN);
-
WM_modalkeymap_add_item(keymap, PAGEUPKEY, KM_PRESS, 0, 0, TFM_MODAL_PROPSIZE_UP);
WM_modalkeymap_add_item(keymap, PAGEDOWNKEY, KM_PRESS, 0, 0, TFM_MODAL_PROPSIZE_DOWN);
WM_modalkeymap_add_item(keymap, WHEELDOWNMOUSE, KM_PRESS, 0, 0, TFM_MODAL_PROPSIZE_UP);
@@ -1070,7 +1053,6 @@ int transformEvent(TransInfo *t, wmEvent *event)
// Snapping events
t->redraw |= handleSnapping(t, event);
- //arrows_move_cursor(event->type);
}
else if (event->val==KM_RELEASE) {
switch (event->type){