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:
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/gpencil_modifier.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/gpencil_modifier.c b/source/blender/blenkernel/intern/gpencil_modifier.c
index d432b18ff5f..ffc1f2d8774 100644
--- a/source/blender/blenkernel/intern/gpencil_modifier.c
+++ b/source/blender/blenkernel/intern/gpencil_modifier.c
@@ -642,7 +642,10 @@ static bGPdata *gpencil_copy_structure_for_eval(bGPdata *gpd)
return gpd_eval;
}
-void copy_frame_to_eval_cb(bGPDlayer *gpl, bGPDframe *gpf, bGPDstroke *gps, void *thunk)
+static void copy_frame_to_eval_cb(bGPDlayer *UNUSED(gpl),
+ bGPDframe *gpf,
+ bGPDstroke *UNUSED(gps),
+ void *UNUSED(thunk))
{
/* Early return when callback is not provided with a frame. */
if (gpf == NULL) {
@@ -662,7 +665,7 @@ void copy_frame_to_eval_cb(bGPDlayer *gpl, bGPDframe *gpf, bGPDstroke *gps, void
BKE_gpencil_frame_original_pointers_update(gpf_orig, gpf);
}
-void gpencil_copy_visible_frames_to_eval(Depsgraph *depsgraph, Scene *scene, Object *ob)
+static void gpencil_copy_visible_frames_to_eval(Depsgraph *depsgraph, Scene *scene, Object *ob)
{
/* Remap layers' active frame with time modifiers applied. */
bGPdata *gpd_eval = ob->data;