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
path: root/source
diff options
context:
space:
mode:
authorChris Want <cwant@ualberta.ca>2005-10-22 00:30:09 +0400
committerChris Want <cwant@ualberta.ca>2005-10-22 00:30:09 +0400
commit3aa95760bca71318ba9f8021f0dc544bb96927fd (patch)
tree5b0bce2c4485d3d67fca3a28076e057272a4ea3d /source
parent233ee5adb7ec881f0d76fcf6ccb51d94b6260e69 (diff)
A tweak for text follow curve -- the old comment in the code says
"why not 0.5?", so I am setting it to 0.5 since it looks way better that way (I think somebody should really revisit this code at some point).
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/font.c b/source/blender/blenkernel/intern/font.c
index 06e497b15e6..785ddc52ce0 100644
--- a/source/blender/blenkernel/intern/font.c
+++ b/source/blender/blenkernel/intern/font.c
@@ -985,7 +985,7 @@ struct chartrans *text_to_curve(Object *ob, int mode)
}
dtime= distfac*0.35f*twidth; /* why not 0.5? */
- dtime= distfac*0.0f*twidth; /* why not 0.5? */
+ dtime= distfac*0.5f*twidth; /* why not 0.5? */
ctime= timeofs + distfac*( ct->xof - minx);
CLAMP(ctime, 0.0, 1.0);