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"
This commit is contained in:
@@ -76,7 +76,7 @@ void ED_operatortypes_gpencil(void);
|
||||
/* ------------ Grease-Pencil Drawing API ------------------ */
|
||||
/* drawgpencil.c */
|
||||
|
||||
void draw_gpencil_2dimage(struct bContext *C /* , struct ImBuf *ibuf */);
|
||||
void draw_gpencil_2dimage(struct bContext *C);
|
||||
void draw_gpencil_view2d(struct bContext *C, short onlyv2d);
|
||||
void draw_gpencil_view3d(struct Scene *scene, struct View3D *v3d, struct ARegion *ar, short only3d);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user