diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2021-02-13 10:38:38 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2021-02-13 10:38:38 +0300 |
commit | a9092768c0034ca9736d5a386e3aa5dc3232c4cd (patch) | |
tree | 49b7e31134d59e5ddfcebe4f65b17dace0a0e6d7 /source/blender/editors/gpencil/gpencil_paint.c | |
parent | 17a37ed938e306582d0d8637e3c0fd277f823616 (diff) |
GPencil: Try again to fix compiler warnings
The windows compiler is not as sensible to this warnings as Linux.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_paint.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index aae00c6b5bd..a7337b5646f 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -1085,7 +1085,8 @@ static void gpencil_stroke_newfrombuffer(tGPsdata *p) } /* If camera view or view projection, reproject flat to view to avoid perspective effect. */ - if ((!is_depth) && (((align_flag & GP_PROJECT_VIEWSPACE) && is_lock_axis_view) || is_camera)) { + if ((!is_depth) && + (((align_flag & GP_PROJECT_VIEWSPACE) && is_lock_axis_view) || (is_camera))) { ED_gpencil_project_stroke_to_view(p->C, p->gpl, gps); } } |