Commit: 77f6d9dbc999f87fc1dcb4974659bb3be75be639
Author: Campbell Barton
Date: Sat Sep 12 13:42:12 2020 +1000
Branches: master
https://developer.blender.org/rB77f6d9dbc999f87fc1dcb4974659bb3be75be639
Fix missing return value in fix for T80677
===================================================================
M source/blender/editors/transform/transform_snap.c
===================================================================
diff --git a/source/blender/editors/transform/transform_snap.c
b/source/blender/editors/transform/transform_snap.c
index c45148691b0..a546aabd095 100644
--- a/source/blender/editors/transform/transform_snap.c
+++ b/source/blender/editors/transform/transform_snap.c
@@ -1466,7 +1466,7 @@ bool transform_snap_grid(TransInfo *t, float *val)
/* Early bailing out if no need to snap */
if (grid_dist == 0.0f) {
- return;
+ return false;
}
snap_grid_apply(t, t->idx_max, grid_dist, val, val);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs