blender/release
Joshua Leung cdc7d0b85f Grease Pencil Todos: "Sketching Sessions"
Due to popular request and usability considerations, this commit
reintroduces functionality similar to 2.4's "Draw Mode" for Grease
Pencil.

In the toolbar under the Draw/Line/Eraser buttons, you can find the
"Use Sketching Sessions" toggle, which enables this feature. This is a
per-scene setting, and defaults to off, so that the current 2.5
behaviour is still the default (i.e. the Grease Pencil operator will
only do a single stroke at a time).

With this option enabled, drawing with Grease Pencil will enter a
semi-modal state where you can draw multiple strokes without needing
to keep holding the DKEY throughout (though you'll still need to do so
to start the strokes, unless you use some toolbar buttons), while
still being able to manipulate the viewport. Header help-text prints
show the appropriate keybindings (i.e. press ESCKEY or ENTER to end
the sketching session).

Notes:
- To aid maintainability of the 3D-View toolbar code, I've taken the
liberty to factor out the groups of widgets which commonly occur in
most of the toolbars into separate functions (namely "Repeat" and
"Grease Pencil"). Perhaps it might make it slightly harder to newbies
to the toolbar code to grasp, though the physics panels are far worse
;)
- I've reshuffled some code in the Grease Pencil code to separate out
the various states of operation again more clearly, though some more
work is still needed there (TODO)
- There can now be only one Grease Pencil operator running at a time
- Redoing Grease Pencil operations where sketching sessions was
enabled still needs work. Namely, a way of delimiting the set of
points recorded into strokes is still needed (TODO)
- Ultimately, it should be possible to switch tools midway through a
session. Currently sessions are limited to only being able to be used
with a single drawing mode (TODO)
- After ending a drawing session, the titlebar contols may not work on
Windows without manually making the main window lose focus and then
regain (i.e. click on some other window in toolbar, then come back).
This may be related to (bug #25480)
2011-01-04 03:14:01 +00:00
..
bin remove redundant []'s for list comprehension's, py2.4+ supports this. 2010-09-19 07:07:14 +00:00
datafiles Part two of 2.56 beta, VERSION for make and splash itself. 2010-12-29 19:05:58 +00:00
freedesktop patch [#23671] [desktop file] add translations and remove deprecated key. 2010-09-05 15:15:27 +00:00
irix-6.2-mips correct fsf address 2010-02-12 13:34:04 +00:00
plugins remove some paranoid NULL checks, since the pointers are used already. 2010-12-17 19:05:10 +00:00
scripts Grease Pencil Todos: "Sketching Sessions" 2011-01-04 03:14:01 +00:00
test pep8 cleanup 2011-01-01 07:20:34 +00:00
text Porting URL fixes for Release Logs from Tag to Trunk. 2010-12-30 13:02:48 +00:00
windows By default install to the user profile instead of Program Files. This because right now the installer 2010-12-27 12:42:51 +00:00
environment-macosx Continue development of bfile system. 2009-10-19 18:44:09 +00:00
environment-mswindows Continue development of bfile system. 2009-10-19 18:44:09 +00:00
environment-unix Continue development of bfile system. 2009-10-19 18:44:09 +00:00
getversion.py pep8 cleanup 2011-01-01 07:20:34 +00:00
Makefile Makefile fix, the getversion.py was using minor release numbers, 2010-11-29 17:23:06 +00:00
VERSION Part two of 2.56 beta, VERSION for make and splash itself. 2010-12-29 19:05:58 +00:00