diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-19 07:17:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-19 07:17:46 +0300 |
commit | e7fd6c8f30cd1161496831859da403eaa34fdf89 (patch) | |
tree | 20d91289ea01da6e8cf668ae057e8aad7ff85887 /source/blender/editors/gpencil | |
parent | 5ef4b0438cf4773e7dd8c661388bb2c3079869bf (diff) |
Cleanup: comment blocks
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/annotate_paint.c | 6 | ||||
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/gpencil/annotate_paint.c b/source/blender/editors/gpencil/annotate_paint.c index 349deb6b53e..b9b0c8fe788 100644 --- a/source/blender/editors/gpencil/annotate_paint.c +++ b/source/blender/editors/gpencil/annotate_paint.c @@ -1786,9 +1786,9 @@ static void annotation_draw_apply_event(wmOperator *op, const wmEvent *event, De float mousef[2]; int tablet = 0; - /* convert from window-space to area-space mouse coordinates - * add any x,y override position for fake events - */ + /* convert from window-space to area-space mouse coordinates + * add any x,y override position for fake events + */ p->mval[0] = (float)event->mval[0] - x; p->mval[1] = (float)event->mval[1] - y; diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 24dcf7d4fb4..dd949b21743 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -428,8 +428,8 @@ static void gp_stroke_convertcoords(tGPsdata *p, const float mval[2], float out[ * - nothing more needs to be done here, since view_autodist_simple() has already done it */ - /* verify valid zdepth, if it's wrong, the default drawing mode is used - * and the function doesn't return now */ + /* verify valid zdepth, if it's wrong, the default drawing mode is used + * and the function doesn't return now */ if ((depth == NULL) || (*depth <= 1.0f)) { return; } |