diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-13 20:54:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-13 20:54:17 +0400 |
commit | f37c971878307d4f618bbbc50574293de9e09141 (patch) | |
tree | 3de7294d6152331d5b06eb4ebab63ad3aa46ee14 /source/blender/editors/space_clip | |
parent | b96172cb054ce22407f8cfeb16592ecc8e216d6e (diff) |
Code cleanup: use ED_gpencil_ prefix for grease pencil
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r-- | source/blender/editors/space_clip/clip_buttons.c | 4 | ||||
-rw-r--r-- | source/blender/editors/space_clip/clip_draw.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_clip/clip_buttons.c b/source/blender/editors/space_clip/clip_buttons.c index cda46d2a9c2..889613b5d13 100644 --- a/source/blender/editors/space_clip/clip_buttons.c +++ b/source/blender/editors/space_clip/clip_buttons.c @@ -84,8 +84,8 @@ void ED_clip_buttons_register(ARegionType *art) strcpy(pt->idname, "CLIP_PT_gpencil"); strcpy(pt->label, N_("Grease Pencil")); strcpy(pt->translation_context, BLF_I18NCONTEXT_DEFAULT_BPYRNA); - pt->draw_header = gpencil_panel_standard_header; - pt->draw = gpencil_panel_standard; + pt->draw_header = ED_gpencil_panel_standard_header; + pt->draw = ED_gpencil_panel_standard; pt->flag |= PNL_DEFAULT_CLOSED; pt->poll = clip_grease_pencil_panel_poll; BLI_addtail(&art->paneltypes, pt); diff --git a/source/blender/editors/space_clip/clip_draw.c b/source/blender/editors/space_clip/clip_draw.c index 9d413e81ea8..9a939bdc2ca 100644 --- a/source/blender/editors/space_clip/clip_draw.c +++ b/source/blender/editors/space_clip/clip_draw.c @@ -1795,12 +1795,12 @@ void clip_draw_grease_pencil(bContext *C, int onlyv2d) } } - draw_gpencil_2dimage(C); + ED_gpencil_draw_2dimage(C); glPopMatrix(); } } else { - draw_gpencil_view2d(C, 0); + ED_gpencil_draw_view2d(C, 0); } } |