GPencil: Rename functions to annotation prefix
This code was used only in annotations.
This commit is contained in:
parent
34d6c04003
commit
da373c1f0d
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue