diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-13 21:25:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-13 21:25:07 +0400 |
commit | 8957609f353f93475d79706cf2d6b306ed197beb (patch) | |
tree | 72d0711c98f6867f2d5c4dc86525708571de140b /source/blender/editors/gpencil | |
parent | f37c971878307d4f618bbbc50574293de9e09141 (diff) |
Sequencer: add support for grease pencil rendering in previews
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/drawgpencil.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index eb784abb34f..a69c020b076 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -799,4 +799,11 @@ void ED_gpencil_draw_view3d(Scene *scene, View3D *v3d, ARegion *ar, bool only3d) gp_draw_data(gpd, offsx, offsy, winx, winy, CFRA, dflag); } +void ED_gpencil_draw_ex(bGPdata *gpd, int winx, int winy, const int cfra) +{ + int dflag = GP_DRAWDATA_NOSTATUS | GP_DRAWDATA_ONLYV2D; + + gp_draw_data(gpd, 0, 0, winx, winy, cfra, dflag); +} + /* ************************************************** */ |