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/gpencil/annotate_draw.c | |
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/gpencil/annotate_draw.c')
-rw-r--r-- | source/blender/editors/gpencil/annotate_draw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/gpencil/annotate_draw.c b/source/blender/editors/gpencil/annotate_draw.c index 8a72702505c..43e2b5bd3bf 100644 --- a/source/blender/editors/gpencil/annotate_draw.c +++ b/source/blender/editors/gpencil/annotate_draw.c @@ -981,7 +981,7 @@ static void gp_draw_data_all( * ............................ */ /* draw grease-pencil sketches to specified 2d-view that uses ibuf corrections */ -void ED_gpencil_draw_2dimage(const bContext *C) +void ED_annotation_draw_2dimage(const bContext *C) { wmWindowManager *wm = CTX_wm_manager(C); ScrArea *sa = CTX_wm_area(C); @@ -1049,7 +1049,7 @@ void ED_gpencil_draw_2dimage(const bContext *C) /* draw grease-pencil sketches to specified 2d-view assuming that matrices are already set correctly * Note: this gets called twice - first time with onlyv2d=true to draw 'canvas' strokes, * second time with onlyv2d=false for screen-aligned strokes */ -void ED_gpencil_draw_view2d(const bContext *C, bool onlyv2d) +void ED_annotation_draw_view2d(const bContext *C, bool onlyv2d) { wmWindowManager *wm = CTX_wm_manager(C); ScrArea *sa = CTX_wm_area(C); @@ -1083,7 +1083,7 @@ void ED_gpencil_draw_view2d(const bContext *C, bool onlyv2d) /* draw annotations sketches to specified 3d-view assuming that matrices are already set correctly * Note: this gets called twice - first time with only3d=true to draw 3d-strokes, * second time with only3d=false for screen-aligned strokes */ -void ED_gpencil_draw_view3d_annotations( +void ED_annotation_draw_view3d( Scene *scene, struct Depsgraph *depsgraph, View3D *v3d, ARegion *ar, bool only3d) |