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:
authorAaron Carlisle <carlisle.b3d@gmail.com>2021-09-06 06:25:36 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-09-06 06:25:36 +0300
commit91bca410c0e08c6d1cd227336df91faddab7a767 (patch)
tree792b526cf4e5fbdf339fb104a11ab468148c5da7 /source/blender/editors/gpencil/gpencil_utils.c
parentbf0ac711fde2e0439af117f73ab1b3a758969348 (diff)
Cleanup: clang-format
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_utils.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c
index 72d10d840fa..bb05b93ad81 100644
--- a/source/blender/editors/gpencil/gpencil_utils.c
+++ b/source/blender/editors/gpencil/gpencil_utils.c
@@ -3284,7 +3284,8 @@ bGPDstroke *ED_gpencil_stroke_nearest_to_ends(bContext *C,
gpencil_point_to_parent_space(pt, diff_mat, &pt_parent);
gpencil_point_to_xy_fl(gsc, gps, &pt_parent, &pt2d_target_end[0], &pt2d_target_end[1]);
- /* If the distance to the original stroke extremes is too big, the stroke must not be joined. */
+ /* If the distance to the original stroke extremes is too big, the stroke must not be joined.
+ */
if ((len_squared_v2v2(ctrl1, pt2d_target_start) > radius_sqr) &&
(len_squared_v2v2(ctrl1, pt2d_target_end) > radius_sqr) &&
(len_squared_v2v2(ctrl2, pt2d_target_start) > radius_sqr) &&