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:
authorAntonioya <blendergit@gmail.com>2019-03-19 13:01:27 +0300
committerAntonioya <blendergit@gmail.com>2019-03-19 13:03:55 +0300
commit8f790720b07d2f92f1222157be6836ff28a46902 (patch)
tree69dc71fabb8fcd8316cda622da7675fe9303545e /source/blender/editors/include
parent8aeb1dbb27aca735efe0df651710c8523212780d (diff)
GPencil: Rename annotation functions
The annotation drawing functions were using gpencil prefix and it's better to keep all annotation code separated to avoid confusion.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_gpencil.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/include/ED_gpencil.h b/source/blender/editors/include/ED_gpencil.h
index 46aca340ea9..21bccc99b6e 100644
--- a/source/blender/editors/include/ED_gpencil.h
+++ b/source/blender/editors/include/ED_gpencil.h
@@ -135,8 +135,6 @@ void ED_gpencil_strokes_copybuf_free(void);
/* ------------ Grease-Pencil Drawing API ------------------ */
/* drawgpencil.c */
-void ED_gpencil_draw_2dimage(const struct bContext *C);
-void ED_gpencil_draw_view2d(const struct bContext *C, bool onlyv2d);
void ED_gpencil_draw_view3d(
struct wmWindowManager *wm,
struct Scene *scene,
@@ -145,7 +143,10 @@ void ED_gpencil_draw_view3d(
struct View3D *v3d,
struct ARegion *ar,
bool only3d);
-void ED_gpencil_draw_view3d_annotations(
+
+void ED_annotation_draw_2dimage(const struct bContext *C);
+void ED_annotation_draw_view2d(const struct bContext *C, bool onlyv2d);
+void ED_annotation_draw_view3d(
struct Scene *scene, struct Depsgraph *depsgraph,
struct View3D *v3d, struct ARegion *ar,
bool only3d);