2.5: work on bringing back SpaceTime options
authorTon Roosendaal <ton@blender.org>
Sat, 29 Nov 2008 15:10:31 +0000 (15:10 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 29 Nov 2008 15:10:31 +0000 (15:10 +0000)
commit78218d89d68861cf96884ce6553ea587b4f6eeb4
tree2189de563ae91e91c1b37a3cb3632b45f7b5ce96
parentf07f6f6fa0f7bef70c76a1a8e1eab65ecf501804
2.5: work on bringing back SpaceTime options

- RMB select, also with SHIFT
- RMB tweak for translate
- SHIFT+D dupli
- BKEY border select/deselect
- AKEY (de)select all
- XKEY delete
- GKEY grab

Added some XXX comments for future todos, especially for when other
spaces come back with time markers.

Also added ED_util for putting in all to-be-cleaned cruft

Context conflict: input methods for Markers can conflict with other
spacetypes. It was solved in pre-2.5 with manually tweaking it all over,
but I would prefer one keymap for all marker stuff. Needs some thinking...
could be solved with a boundbox check for bottom part of 2d window.

Tweak issue: both tweak styles are possible:
- Hold mouse button, move, operator ends on mouse release
- Hold mouse button, move, operator ends on mouse click

Problem is that modally handled operators use fixed keymaps... like ESC,
SPACE, ENTER, or press/release mousebutton for 'assign'. There's a lot
to say for making this all consistant, or become part of 1 general keymap?
Should also be possibe to define 'tweak' defaults for Tablet different
than for mouse...
19 files changed:
source/Makefile
source/blender/editors/Makefile
source/blender/editors/SConscript
source/blender/editors/include/ED_markers.h
source/blender/editors/include/ED_mesh.h
source/blender/editors/include/ED_screen.h
source/blender/editors/include/ED_util.h [new file with mode: 0644]
source/blender/editors/screen/area.c
source/blender/editors/screen/screen_ops.c
source/blender/editors/space_time/ed_markers.c
source/blender/editors/space_time/time_ops.c
source/blender/editors/util/Makefile [new file with mode: 0644]
source/blender/editors/util/SConscript [new file with mode: 0644]
source/blender/editors/util/ed_util.c [new file with mode: 0644]
source/blender/makesdna/DNA_userdef_types.h
source/blender/makesdna/DNA_windowmanager_types.h
source/blender/windowmanager/intern/wm_gesture.c
source/blender/windowmanager/intern/wm_operators.c
source/blender/windowmanager/wm_event_types.h