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
path: root/source
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2019-08-24 10:02:42 +0300
committerAntonio Vazquez <blendergit@gmail.com>2019-08-24 10:02:42 +0300
commitb7f786c0b150378a84a0377e79e9cf14023055d5 (patch)
treeb6b98c12951a71ddc09f0427078a3b5d212f41ed /source
parentae0b855a32ddcffb146d66407785f36e277b631c (diff)
GPencil: Fix typo error
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/gpencil.c8
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;
}