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>2019-04-17 09:44:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 09:44:58 +0300
commit223f9310955f6b0d6f1089c16802a57e20fcadb3 (patch)
tree3e9ff2b2fc936e9d61103309dbaa5a01278d68e4 /source/blender/editors/transform/transform_snap_object.c
parent6b26024ea41f4ec25bf52872c18f08ec8f78138a (diff)
Cleanup: comment length in transform
Diffstat (limited to 'source/blender/editors/transform/transform_snap_object.c')
-rw-r--r--source/blender/editors/transform/transform_snap_object.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform_snap_object.c b/source/blender/editors/transform/transform_snap_object.c
index 93f89c1919e..5d4867f5ef9 100644
--- a/source/blender/editors/transform/transform_snap_object.c
+++ b/source/blender/editors/transform/transform_snap_object.c
@@ -826,7 +826,8 @@ static void raycast_obj_cb(
* Read/Write Args
* ---------------
*
- * \param ray_depth: maximum depth allowed for r_co, elements deeper than this value will be ignored.
+ * \param ray_depth: maximum depth allowed for r_co,
+ * elements deeper than this value will be ignored.
*
* Output Args
* -----------
@@ -887,7 +888,8 @@ static bool snap_bound_box_check_dist(float min[3],
float mval[2],
float dist_px_sq)
{
- /* In vertex and edges you need to get the pixel distance from ray to BoundBox, see: T46099, T46816 */
+ /* In vertex and edges you need to get the pixel distance from ray to BoundBox,
+ * see: T46099, T46816 */
struct DistProjectedAABBPrecalc data_precalc;
dist_squared_to_projected_aabb_precalc(&data_precalc, lpmat, win_size, mval);
@@ -1626,7 +1628,8 @@ static short snapCurve(SnapData *snapdata,
nu->bezt[u].vec[1],
&dist_px_sq,
r_loc);
- /* don't snap if handle is selected (moving), or if it is aligning to a moving handle */
+ /* Don't snap if handle is selected (moving),
+ * or if it is aligning to a moving handle. */
if (!(nu->bezt[u].f1 & SELECT) &&
!(nu->bezt[u].h1 & HD_ALIGN && nu->bezt[u].f3 & SELECT)) {
has_snap |= test_projected_vert_dist(&neasrest_precalc,