diff options
Diffstat (limited to 'source/blender/blenkernel/intern/gpencil.c')
-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 2faeb0ea8c4..31c05497b8d 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 *eval_gpf) +bool BKE_gpencil_free_frame_runtime_data(bGPDframe *gpu_eval) { bGPDstroke *gps_next; - if (!eval_gpf) { + if (!gpu_eval) { return false; } /* free strokes */ - for (bGPDstroke *gps = eval_gpf->strokes.first; gps; gps = gps_next) { + for (bGPDstroke *gps = gpu_eval->strokes.first; gps; gps = gps_next) { gps_next = gps->next; BKE_gpencil_free_stroke(gps); } - BLI_listbase_clear(&eval_gpf->strokes); + BLI_listbase_clear(&gpu_eval->strokes); return true; } |