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_node
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_node')
-rw-r--r--source/blender/editors/space_node/node_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c
index 0a33e5ebf12..b2ae7cac41e 100644
--- a/source/blender/editors/space_node/node_draw.c
+++ b/source/blender/editors/space_node/node_draw.c
@@ -1432,7 +1432,7 @@ void drawnodespace(const bContext *C, ARegion *ar)
if (snode->flag & SNODE_SHOW_GPENCIL) {
/* draw grease-pencil ('canvas' strokes) */
- ED_gpencil_draw_view2d(C, true);
+ ED_annotation_draw_view2d(C, true);
}
}
else {
@@ -1451,7 +1451,7 @@ void drawnodespace(const bContext *C, ARegion *ar)
if (snode->treepath.last) {
if (snode->flag & SNODE_SHOW_GPENCIL) {
/* draw grease-pencil (screen strokes, and also paintbuffer) */
- ED_gpencil_draw_view2d(C, false);
+ ED_annotation_draw_view2d(C, false);
}
}