2.5
authorTon Roosendaal <ton@blender.org>
Wed, 17 Dec 2008 15:38:40 +0000 (15:38 +0000)
committerTon Roosendaal <ton@blender.org>
Wed, 17 Dec 2008 15:38:40 +0000 (15:38 +0000)
commit07d63eb67943e6f9e93443fbbb903436c9b9503d
tree17b20fffb625948666ae05b89f6cc26c2eb28ae2
parent616edcca1222c25b53c13d4da4c3af4f7a0f349a
2.5

- Made a nice generic 'OK confirm' implementation for operators.
  Just use in operator type definition this line:

  ot->invoke= WM_operator_confirm;

  It will autmatically use operator name for asking OK. It will
  also use properties (if set before).

  Note for Brecht: the test okee_operator() you coded could better not
  be used in operators themselves.

  In future we can also add menus that get automatically generated
  based on operator properties. Like 'add constraint' showing the
  constraint types.

- Added this confirm call for most of the keys you'd expect it for.
  (user settings, delete marker, rip area, split region, etc).

- Cleanup: moved ed_markers.c to the util/ directory, it doesnt belong
  in space_time. Also made separate function for the marker keymap
  definition.

- removed ancient redraw notifier from ghost event level (every key
  press gave full screen draw)
source/blender/editors/include/ED_markers.h
source/blender/editors/screen/screen_ops.c
source/blender/editors/space_time/time_ops.c
source/blender/editors/util/ed_markers.c [moved from source/blender/editors/space_time/ed_markers.c with 94% similarity]
source/blender/windowmanager/intern/wm_operators.c
source/blender/windowmanager/intern/wm_window.c