Blender Git Loki

Git Commits -> Revision 0df68aa

Revision 0df68aa by Joshua Leung (master)
June 11, 2012, 00:21 (GMT)
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"

Commit Details:

Full Hash: 0df68aacb10a7f947673d925e09a539ee8c4bb9c
SVN Revision: 47710
Parent Commit: f305261
Lines Changed: +109, -196

9 Modified Paths:

/source/blender/editors/gpencil/drawgpencil.c (+15, -35) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+16, -12) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+30, -125) (Diff)
/source/blender/editors/include/ED_gpencil.h (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_buttons.c (+16, -2) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+6, -5) (Diff)
/source/blender/editors/space_sequencer/sequencer_intern.h (+1, -1) (Diff)
/source/blender/editors/space_sequencer/space_sequencer.c (+13, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+11, -14) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021