Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-03-19 13:01:27 +0300
committerAntonioya <blendergit@gmail.com>2019-03-19 13:03:55 +0300
commit8f790720b07d2f92f1222157be6836ff28a46902 (patch)
tree69dc71fabb8fcd8316cda622da7675fe9303545e /source/blender/editors/space_sequencer
parent8aeb1dbb27aca735efe0df651710c8523212780d (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/space_sequencer')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c
index 8a64b6f39db..7d1748f4bb0 100644
--- a/source/blender/editors/space_sequencer/sequencer_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_draw.c
@@ -1023,13 +1023,13 @@ static void sequencer_display_size(Scene *scene, float r_viewrect[2])
static void sequencer_draw_gpencil(const bContext *C)
{
/* draw grease-pencil (image aligned) */
- ED_gpencil_draw_2dimage(C);
+ ED_annotation_draw_2dimage(C);
/* ortho at pixel level */
UI_view2d_view_restore(C);
/* draw grease-pencil (screen aligned) */
- ED_gpencil_draw_view2d(C, 0);
+ ED_annotation_draw_view2d(C, 0);
}
/* draws content borders plus safety borders if needed */