Grease Pencil: Drawing Improvements
authorJoshua Leung <aligorith@gmail.com>
Sun, 30 Aug 2009 04:48:34 +0000 (04:48 +0000)
committerJoshua Leung <aligorith@gmail.com>
Sun, 30 Aug 2009 04:48:34 +0000 (04:48 +0000)
commite104b429295766f9276ea854e02f085cf65e623f
tree5ba83720546ef22bab2c73ceb10ae80a23f3b3c7
parent4b206c675c21322cf98700dddfc0d0485b3d6ffc
Grease Pencil: Drawing Improvements

* Smooth strokes can now be drawn again, with normal (i.e. reasonably speedy feedback again).
Previously slow drawing was caused by a bad notifier being used - the full screen was redrawn each time instead of just the relevant region. Now, only the relevant region is redrawn while drawing, and a proper flush is done for the rest of the screen at the end.

* Made drawing straight lines a proper drawing 'mode' for Grease Pencil now. Use the Ctrl-D-LMB hotkey to draw straight lines in this way. The (buffer) line drawn now will accurately represent the final straight line instead of drawing the freehand path taken as before.
source/blender/editors/gpencil/gpencil_edit.c
source/blender/editors/gpencil/gpencil_intern.h
source/blender/editors/gpencil/gpencil_ops.c
source/blender/editors/gpencil/gpencil_paint.c