Blender Git Commit Log

Git Commits -> Revision 07d63eb

Revision 07d63eb by Ton Roosendaal (master)
December 17, 2008, 15:38 (GMT)
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)



Commit Details:

Full Hash: 07d63eb67943e6f9e93443fbbb903436c9b9503d
SVN Revision: 17906
Parent Commit: 616edcc
Lines Changed: +900, -896

1 Added Path:

/source/blender/editors/util/ed_markers.c (+868, -0) (View)

1 Deleted Path:

/source/blender/editors/space_time/ed_markers.c (+0, -847)

5 Modified Paths:

/source/blender/editors/include/ED_markers.h (+4, -3) (Diff)
/source/blender/editors/screen/screen_ops.c (+7, -1) (Diff)
/source/blender/editors/space_time/time_ops.c (+0, -17) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+21, -26) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+0, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021