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_constraints.c
parent6b26024ea41f4ec25bf52872c18f08ec8f78138a (diff)
Cleanup: comment length in transform
Diffstat (limited to 'source/blender/editors/transform/transform_constraints.c')
-rw-r--r--source/blender/editors/transform/transform_constraints.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c
index 27d6e597931..a3b579342fe 100644
--- a/source/blender/editors/transform/transform_constraints.c
+++ b/source/blender/editors/transform/transform_constraints.c
@@ -219,7 +219,8 @@ static void axisProjection(const TransInfo *t,
if (angle < DEG2RADF(5.0f)) {
project_v3_v3v3(vec, in, t->viewinv[1]);
factor = dot_v3v3(t->viewinv[1], vec) * 2.0f;
- /* since camera distance is quite relative, use quadratic relationship. holding shift can compensate */
+ /* Since camera distance is quite relative, use quadratic relationship.
+ * holding shift can compensate. */
if (factor < 0.0f)
factor *= -factor;
else