diff options
author | Antonioya <blendergit@gmail.com> | 2019-03-19 12:48:24 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-03-19 13:03:55 +0300 |
commit | 34d6c04003775943ecf6a8015a97eb32452c7efb (patch) | |
tree | db2205c66087d9b19946657b891f418c3bff30c6 /source/blender/editors/gpencil/drawgpencil.c | |
parent | 40ecb2ded81ba7265c426f6680faf3417ff22aeb (diff) |
Fix T62734: Crash when annotations are rendered from the VSE .view menu.
The render was using the old grease pencil code and not the new annotation code for render.
Diffstat (limited to 'source/blender/editors/gpencil/drawgpencil.c')
-rw-r--r-- | source/blender/editors/gpencil/drawgpencil.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index d25ff6b4c07..b9b50ac207d 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -1751,12 +1751,3 @@ void ED_gpencil_draw_view3d_object(wmWindowManager *wm, Scene *scene, Depsgraph gp_draw_data(rv3d, brush, 1.0f, ob, gpd, offsx, offsy, winx, winy, CFRA, dflag); } } - -void ED_gpencil_draw_ex( - ViewLayer *view_layer, RegionView3D *rv3d, Scene *scene, - bGPdata *gpd, int winx, int winy, const int cfra, const char spacetype) -{ - int dflag = GP_DRAWDATA_NOSTATUS | GP_DRAWDATA_ONLYV2D; - - gp_draw_data_all(view_layer, rv3d, scene, gpd, 0, 0, winx, winy, cfra, dflag, spacetype); -} |