diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-01-07 13:29:42 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-01-07 13:34:20 +0300 |
commit | fa3a0697b846bd0ed3766fcabd1bf6f260aa425a (patch) | |
tree | 19a1bc85b29fb1cced92246270864bb8d1b41c35 /source/blender/editors/gpencil/annotate_draw.c | |
parent | e237b78b91b9e88da8e3c4a5fb360101238c39e4 (diff) |
Annotations: Split annotation operators and pointer functions
This allows to have annotation panels and grease pencil object panel at the same time.
Differential Revision: https://developer.blender.org/D6467
Diffstat (limited to 'source/blender/editors/gpencil/annotate_draw.c')
-rw-r--r-- | source/blender/editors/gpencil/annotate_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/annotate_draw.c b/source/blender/editors/gpencil/annotate_draw.c index 67bf64a2903..6e91be862a9 100644 --- a/source/blender/editors/gpencil/annotate_draw.c +++ b/source/blender/editors/gpencil/annotate_draw.c @@ -1056,7 +1056,7 @@ void ED_annotation_draw_2dimage(const bContext *C) int offsx, offsy, sizex, sizey; int dflag = GP_DRAWDATA_NOSTATUS; - bGPdata *gpd = ED_gpencil_data_get_active(C); // XXX + bGPdata *gpd = ED_annotation_data_get_active(C); if (gpd == NULL) { return; } @@ -1132,7 +1132,7 @@ void ED_annotation_draw_view2d(const bContext *C, bool onlyv2d) if (sa == NULL) { return; } - bGPdata *gpd = ED_gpencil_data_get_active(C); // XXX + bGPdata *gpd = ED_annotation_data_get_active(C); if (gpd == NULL) { return; } |