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:
authorCampbell Barton <ideasman42@gmail.com>2019-03-29 23:13:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-29 23:14:28 +0300
commit18d06e8d21ed8c9a19df4205abcd7ed17eb9af00 (patch)
treedb942cccc1e912598245d7189636fe44818177b7 /source/blender/editors/gpencil
parentd6747f310f1235084e37d871212fb66aff37ba13 (diff)
Cleanup: style
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r--source/blender/editors/gpencil/gpencil_fill.c5
1 files changed, 3 insertions, 2 deletions
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;
}