diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-08-24 10:02:42 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-08-24 10:02:42 +0300 |
commit | b7f786c0b150378a84a0377e79e9cf14023055d5 (patch) | |
tree | b6b98c12951a71ddc09f0427078a3b5d212f41ed /source/blender/blenkernel | |
parent | ae0b855a32ddcffb146d66407785f36e277b631c (diff) |
GPencil: Fix typo error
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/gpencil.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c index 31c05497b8d..d4bf76ea44a 100644 --- a/source/blender/blenkernel/intern/gpencil.c +++ b/source/blender/blenkernel/intern/gpencil.c @@ -148,19 +148,19 @@ bool BKE_gpencil_free_strokes(bGPDframe *gpf) } /* Free strokes and colors belonging to a gp-frame */ -bool BKE_gpencil_free_frame_runtime_data(bGPDframe *gpu_eval) +bool BKE_gpencil_free_frame_runtime_data(bGPDframe *gpf_eval) { bGPDstroke *gps_next; - if (!gpu_eval) { + if (!gpf_eval) { return false; } /* free strokes */ - for (bGPDstroke *gps = gpu_eval->strokes.first; gps; gps = gps_next) { + for (bGPDstroke *gps = gpf_eval->strokes.first; gps; gps = gps_next) { gps_next = gps->next; BKE_gpencil_free_stroke(gps); } - BLI_listbase_clear(&gpu_eval->strokes); + BLI_listbase_clear(&gpf_eval->strokes); return true; } |