[Bf-blender-cvs] [17a37ed938e] blender-v2.92-release: Fix brace placement from recent fix for T85581
Campbell Barton
noreply at git.blender.org
Sat Feb 13 06:29:05 CET 2021
Commit: 17a37ed938e306582d0d8637e3c0fd277f823616
Author: Campbell Barton
Date: Sat Feb 13 16:27:04 2021 +1100
Branches: blender-v2.92-release
https://developer.blender.org/rB17a37ed938e306582d0d8637e3c0fd277f823616
Fix brace placement from recent fix for T85581
ccea44e76bbd06309e0012ed3213a9028e8cb32c missed this expression.
===================================================================
M source/blender/editors/gpencil/gpencil_paint.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index cf05cf4738a..aae00c6b5bd 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -1234,7 +1234,7 @@ static void gpencil_stroke_newfrombuffer(tGPsdata *p)
/* change position relative to parent object */
gpencil_apply_parent(depsgraph, obact, gpl, gps);
/* 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);
}
More information about the Bf-blender-cvs
mailing list