diff options
author | Antonioya <blendergit@gmail.com> | 2019-03-19 12:52:37 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-03-19 13:03:55 +0300 |
commit | da373c1f0d51717625172eb4daad48310efd20f1 (patch) | |
tree | 3684831a340643f812e797a1c0ee1e3af01ea394 /source/blender | |
parent | 34d6c04003775943ecf6a8015a97eb32452c7efb (diff) |
GPencil: Rename functions to annotation prefix
This code was used only in annotations.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/gpencil/annotate_draw.c | 2 | ||||
-rw-r--r-- | source/blender/editors/include/ED_gpencil.h | 2 | ||||
-rw-r--r-- | source/blender/editors/render/render_opengl.c | 2 |
3 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 111a24da528..8a72702505c 100644 --- a/source/blender/editors/gpencil/annotate_draw.c +++ b/source/blender/editors/gpencil/annotate_draw.c @@ -1133,7 +1133,7 @@ void ED_gpencil_draw_view3d_annotations( gp_draw_data_all(scene, gpd, offsx, offsy, winx, winy, CFRA, dflag, v3d->spacetype); } -void ED_gpencil_draw_ex( +void ED_annotation_draw_ex( Scene *scene, bGPdata *gpd, int winx, int winy, const int cfra, const char spacetype) { diff --git a/source/blender/editors/include/ED_gpencil.h b/source/blender/editors/include/ED_gpencil.h index 12677769527..4c2ffa01bcc 100644 --- a/source/blender/editors/include/ED_gpencil.h +++ b/source/blender/editors/include/ED_gpencil.h @@ -157,7 +157,7 @@ void ED_gpencil_draw_view3d_object( struct View3D *v3d, struct ARegion *ar, bool only3d); -void ED_gpencil_draw_ex( +void ED_annotation_draw_ex( struct Scene *scene, struct bGPdata *gpd, int winx, int winy, const int cfra, const char spacetype); diff --git a/source/blender/editors/render/render_opengl.c b/source/blender/editors/render/render_opengl.c index 7fb9dbdf3a6..84b84f1dd52 100644 --- a/source/blender/editors/render/render_opengl.c +++ b/source/blender/editors/render/render_opengl.c @@ -325,7 +325,7 @@ static void screen_opengl_render_doit(const bContext *C, OGLRender *oglrender, R GPU_matrix_translate_2f(sizex / 2, sizey / 2); G.f |= G_FLAG_RENDER_VIEWPORT; - ED_gpencil_draw_ex( + ED_annotation_draw_ex( scene, gpd, sizex, sizey, scene->r.cfra, SPACE_SEQ); G.f &= ~G_FLAG_RENDER_VIEWPORT; |