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>2018-07-31 13:44:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-31 13:45:43 +0300
commit31fcd40efd3a98113cec837282c6dd2e1d34caa1 (patch)
treeda77d9a90cd69c689902d851adc4fcb3d8c30a25 /source/blender/editors/gpencil/drawgpencil.c
parentf945303877e65999fbae7a37ba5a223367259396 (diff)
Cleanup: use static variables
Diffstat (limited to 'source/blender/editors/gpencil/drawgpencil.c')
-rw-r--r--source/blender/editors/gpencil/drawgpencil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c
index 2c0b3e9900a..180fb65e743 100644
--- a/source/blender/editors/gpencil/drawgpencil.c
+++ b/source/blender/editors/gpencil/drawgpencil.c
@@ -574,7 +574,7 @@ static void gp_add_filldata_tobuffer(
mul_v3_m4v3(fpt, diff_mat, &pt->x);
/* if 2d, need conversion */
- if (!flag & GP_STROKE_3DSPACE) {
+ if (!(flag & GP_STROKE_3DSPACE)) {
gp_calc_2d_stroke_fxy(fpt, flag, offsx, offsy, winx, winy, co);
copy_v2_v2(fpt, co);
fpt[2] = 0.0f; /* 2d always is z=0.0f */