[Bf-blender-cvs] [a9e7d503ddc] master: Cleanup: Apply clang format
Antonio Vazquez
noreply at git.blender.org
Sat Mar 27 15:02:39 CET 2021
Commit: a9e7d503ddcdb72703c125a0b0dac28e513678c3
Author: Antonio Vazquez
Date: Sat Mar 27 15:00:34 2021 +0100
Branches: master
https://developer.blender.org/rBa9e7d503ddcdb72703c125a0b0dac28e513678c3
Cleanup: Apply clang format
===================================================================
M source/blender/editors/gpencil/gpencil_trace_utils.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_trace_utils.c b/source/blender/editors/gpencil/gpencil_trace_utils.c
index 7e4fa2d9bda..482f7015720 100644
--- a/source/blender/editors/gpencil/gpencil_trace_utils.c
+++ b/source/blender/editors/gpencil/gpencil_trace_utils.c
@@ -308,16 +308,16 @@ void ED_gpencil_trace_data_to_strokes(Main *bmain,
if (gps->totpoints == 0) {
add_point(gps, scalef, offset, c[n - 1][2].x, c[n - 1][2].y);
}
- else {
- add_point(gps, scalef, offset, last[0],last[1]);
- }
-
+ else {
+ add_point(gps, scalef, offset, last[0], last[1]);
+ }
+
add_point(gps, scalef, offset, c[i][1].x, c[i][1].y);
add_point(gps, scalef, offset, c[i][2].x, c[i][2].y);
- last[0] = c[i][2].x;
- last[1]= c[i][2].y;
+ last[0] = c[i][2].x;
+ last[1] = c[i][2].y;
break;
}
case POTRACE_CURVETO: {
More information about the Bf-blender-cvs
mailing list