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:
authorCampbell Barton <ideasman42@gmail.com>2019-08-24 01:50:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-24 05:06:58 +0300
commit67d9647ae4e17bb14d89933e392381e01ebae6a0 (patch)
tree6bfdf64c7cdc1b2215e571b4f86906054758925a /source/blender/blenkernel/intern/gpencil.c
parenta68e8ac993a169b63365ffc099d3f01581f6ce0b (diff)
Cleanup: use eval as a suffix
Follow conversion already used in most places.
Diffstat (limited to 'source/blender/blenkernel/intern/gpencil.c')
-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 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;
}