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:
authorAntonio Vazquez <blendergit@gmail.com>2019-09-10 18:47:17 +0300
committerAntonio Vazquez <blendergit@gmail.com>2019-09-10 18:49:27 +0300
commit5ba0726bc1a7c7343e9d31e01c15bb3510256bb7 (patch)
tree1c76fe05b15317eb0e2d5a0c118c389ce291fa71 /source/blender/editors/include/ED_gpencil.h
parent841df2b98e785649a6346d3c6e560a168186eef3 (diff)
GPencil: Deduplicate function
The same code was duplicated and now it was moved to shared function.
Diffstat (limited to 'source/blender/editors/include/ED_gpencil.h')
-rw-r--r--source/blender/editors/include/ED_gpencil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_gpencil.h b/source/blender/editors/include/ED_gpencil.h
index 470eb58c72b..63ddc669ab2 100644
--- a/source/blender/editors/include/ED_gpencil.h
+++ b/source/blender/editors/include/ED_gpencil.h
@@ -288,4 +288,7 @@ struct tGPspoint *ED_gpencil_sbuffer_ensure(struct tGPspoint *buffer_array,
short *buffer_size,
short *buffer_used,
const bool clear);
+/* Tag all scene grease pencil object to update. */
+void ED_gpencil_tag_scene_gpencil(struct Scene *scene);
+
#endif /* __ED_GPENCIL_H__ */