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:
authorAntonio Vazquez <blendergit@gmail.com>2021-03-27 17:00:34 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-03-27 17:01:41 +0300
commita9e7d503ddcdb72703c125a0b0dac28e513678c3 (patch)
tree4d5754457b89b0a8b3356a40e6fe261a001bee52
parente7c4c9e538560d7278403fbc728fe6b9e9238334 (diff)
Cleanup: Apply clang format
-rw-r--r--source/blender/editors/gpencil/gpencil_trace_utils.c12
1 files changed, 6 insertions, 6 deletions
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: {