diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-03 11:14:13 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-03 11:14:13 +0300 |
commit | ff59553dc9d1d96ca49e18fb84717a5c3cdb4844 (patch) | |
tree | 6fbedfb55adb1fbfa5ef8f4ab1d7562e28ef866f /source/blender/draw/engines/gpencil/gpencil_draw_utils.c | |
parent | ad68470d447dfb3864ed3e159dc0951bbf8547c6 (diff) |
GP: Cleanup function parameter
There was a mix of enum parameters and int/bool values.
Diffstat (limited to 'source/blender/draw/engines/gpencil/gpencil_draw_utils.c')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_draw_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c index 3963f9d45b9..853f79d5a6e 100644 --- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c +++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c @@ -1190,7 +1190,7 @@ void DRW_gpencil_populate_multiedit( } } else { - gpf = BKE_gpencil_layer_getframe(gpl, cfra_eval, 0); + gpf = BKE_gpencil_layer_getframe(gpl, cfra_eval, GP_GETFRAME_USE_PREV); if (gpf) { gpencil_draw_strokes( cache, e_data, vedata, ts, ob, gpd, gpl, gpf, gpf, @@ -1239,7 +1239,7 @@ void DRW_gpencil_populate_datablock( if (gpl->flag & GP_LAYER_HIDE) continue; - bGPDframe *gpf = BKE_gpencil_layer_getframe(gpl, cfra_eval, 0); + bGPDframe *gpf = BKE_gpencil_layer_getframe(gpl, cfra_eval, GP_GETFRAME_USE_PREV); if (gpf == NULL) continue; |