Grease Pencil - Support for Grease Pencil in the Sequence Editor preview/image
authorJoshua Leung <aligorith@gmail.com>
Mon, 11 Jun 2012 00:21:50 +0000 (00:21 +0000)
committerJoshua Leung <aligorith@gmail.com>
Mon, 11 Jun 2012 00:21:50 +0000 (00:21 +0000)
commit0df68aacb10a7f947673d925e09a539ee8c4bb9c
treec19679d63689445aa770bdfc2b421a71229235e2
parentf305261f14254656c888438205887769ad45b8bd
Grease Pencil - Support for Grease Pencil in the Sequence Editor preview/image
space works again

This commit restores the support for using Grease Pencil in the Sequence Editor
image preview region, making it possible to scribble on footage for review
purposes again. Due to internal changes in how the Sequencer handles the image
drawing for this stuff (i.e. it is now fully based on View2D instead of trying
to implement its own little crazy offset+zoom stuff), a lot of the old code for
handling those offsets is no longer needed. Instead, one of the "standard" cases
is now used, and works quite well.

Bugfixes:
* View-space Grease Pencil drawing was done in wrong place (before view2d
restore)
* Grease Pencil entry in RNA had wrong/missing type

Credits:
* DingTo - initial patch/attempt at restoring support
* Aligorith - solved the "offset problems"
source/blender/editors/gpencil/drawgpencil.c
source/blender/editors/gpencil/gpencil_edit.c
source/blender/editors/gpencil/gpencil_paint.c
source/blender/editors/include/ED_gpencil.h
source/blender/editors/space_sequencer/sequencer_buttons.c
source/blender/editors/space_sequencer/sequencer_draw.c
source/blender/editors/space_sequencer/sequencer_intern.h
source/blender/editors/space_sequencer/space_sequencer.c
source/blender/makesrna/intern/rna_space.c