Blender Git Commit Log

Git Commits -> Revision 8c84a43

Revision 8c84a43 by Ton Roosendaal (master)
November 17, 2008, 18:54 (GMT)
2.5 getting-back-into-coding commit :)

- cleaned up join and split operations. Most noticable is operator callback
design, which should make a design based on user-less exec() first, then
wrap invoke() and modal() around it. The exec() should be callable with
only Context and properties.

- split now works again; and inversed as previously, if you drag from a
triangle (action zone) inside area it subdivides area as expected.

- dragging from triangle outside area, over an edge, joins areas

- split has been simplified, it had too many options... it could just work
simpler (now)

- 'action zone' now is an operator itself, a widget sending an ACTIONZONE event,
which can be handled by others (so other gestures can be added in action zone
too)


Still evaluating:
- context gets set where?
- code structure confuses... what are proper functions for operators?
- what is WM... should low level screen stuff more there?
- when do you send event, notifier?
- files grow to large, will clean


Oh yeah and docs, docs, docs. Coming! :)

Commit Details:

Full Hash: 8c84a4338597b8b17bca5b1ffbe819f6d71fbf83
SVN Revision: 17481
Parent Commit: 623421d
Lines Changed: +469, -406

9 Modified Paths:

/source/blender/editors/include/ED_screen.h (+1, -0) (Diff)
/source/blender/editors/include/ED_screen_types.h (+0, -9) (Diff)
/source/blender/editors/screen/area.c (+3, -60) (Diff)
/source/blender/editors/screen/screen_edit.c (+427, -331) (Diff)
/source/blender/editors/screen/screen_intern.h (+1, -0) (Diff)
/source/blender/editors/screen/screen_ops.c (+18, -3) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+15, -3) (Diff)
/source/blender/windowmanager/WM_api.h (+2, -0) (Diff)
/source/blender/windowmanager/wm_event_types.h (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021