Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-09-03 11:14:13 +0300
committerAntonioya <blendergit@gmail.com>2018-09-03 11:14:13 +0300
commitff59553dc9d1d96ca49e18fb84717a5c3cdb4844 (patch)
tree6fbedfb55adb1fbfa5ef8f4ab1d7562e28ef866f /source/blender/editors/gpencil/annotate_draw.c
parentad68470d447dfb3864ed3e159dc0951bbf8547c6 (diff)
GP: Cleanup function parameter
There was a mix of enum parameters and int/bool values.
Diffstat (limited to 'source/blender/editors/gpencil/annotate_draw.c')
-rw-r--r--source/blender/editors/gpencil/annotate_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/annotate_draw.c b/source/blender/editors/gpencil/annotate_draw.c
index 4f6e2004197..0bb14a103f6 100644
--- a/source/blender/editors/gpencil/annotate_draw.c
+++ b/source/blender/editors/gpencil/annotate_draw.c
@@ -735,7 +735,7 @@ static void gp_draw_data_layers(
continue;
/* get frame to draw */
- bGPDframe *gpf = BKE_gpencil_layer_getframe(gpl, cfra, 0);
+ bGPDframe *gpf = BKE_gpencil_layer_getframe(gpl, cfra, GP_GETFRAME_USE_PREV);
if (gpf == NULL)
continue;