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>2021-04-30 08:24:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-04-30 08:24:24 +0300
commit5806d7ef5432e9e46ab90050de91a071b1371a9b (patch)
treea678bfae01d817a2e5e98e19ef503672d41c1adb /source/blender/editors/gizmo_library
parentd5ae0290e8b1ee4556ea77a9ab64523a13dc312c (diff)
Cleanup: avoid ambiguous parenthesis
Diffstat (limited to 'source/blender/editors/gizmo_library')
-rw-r--r--source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c b/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c
index ee344561b0e..e2f3c352676 100644
--- a/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c
+++ b/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c
@@ -614,8 +614,8 @@ static void snap_gizmo_draw(const bContext *C, wmGizmo *gz)
GPU_line_width(1.0f);
- const float *prev_point = snap_gizmo_snap_elements(snap_gizmo) &
- SCE_SNAP_MODE_EDGE_PERPENDICULAR ?
+ const float *prev_point = (snap_gizmo_snap_elements(snap_gizmo) &
+ SCE_SNAP_MODE_EDGE_PERPENDICULAR) ?
snap_gizmo->prevpoint :
NULL;