diff options
author | Antonioya <blendergit@gmail.com> | 2019-03-19 13:01:27 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-03-19 13:03:55 +0300 |
commit | 8f790720b07d2f92f1222157be6836ff28a46902 (patch) | |
tree | 69dc71fabb8fcd8316cda622da7675fe9303545e /source/blender/editors/include | |
parent | 8aeb1dbb27aca735efe0df651710c8523212780d (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.h | 7 |
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); |