diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-29 23:13:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-29 23:14:28 +0300 |
commit | 18d06e8d21ed8c9a19df4205abcd7ed17eb9af00 (patch) | |
tree | db942cccc1e912598245d7189636fe44818177b7 /source/blender/editors | |
parent | d6747f310f1235084e37d871212fb66aff37ba13 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 2 | ||||
-rw-r--r-- | source/blender/editors/gpencil/gpencil_fill.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index 3a284d80e5f..10729ecaa5e 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -4319,7 +4319,7 @@ static bool merge_2_nurb(Curve *cu, ListBase *editnurb, Nurb *nu1, Nurb *nu2) if (len1 < len2) { bp2 = &nu2->bp[v * nu2->pntsu]; } - else { + else { bp2 = &nu2->bp[(nu1->pntsv - v - 1) * nu2->pntsu]; } diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c index 17cb21d62bd..5922872070d 100644 --- a/source/blender/editors/gpencil/gpencil_fill.c +++ b/source/blender/editors/gpencil/gpencil_fill.c @@ -1156,8 +1156,9 @@ static bool gpencil_fill_poll(bContext *C) ScrArea *sa = CTX_wm_area(C); if (sa->spacetype == SPACE_VIEW3D) { if ((obact == NULL) || - (obact->type != OB_GPENCIL) || - (obact->mode != OB_MODE_PAINT_GPENCIL)) { + (obact->type != OB_GPENCIL) || + (obact->mode != OB_MODE_PAINT_GPENCIL)) + { return false; } |