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>2021-08-17 08:11:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-08-17 08:11:54 +0300
commit736b6a70a492e35c2be9e1f6bb6b26a057fbdf58 (patch)
treeb91e5cf262c5b88f6d518721e4e960f6ba4fd956 /source/blender/blenkernel
parent69fdcea9788caa1c94e2baf848eeb6650b274c6b (diff)
Docs: improve word wrap comment
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/font.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/font.c b/source/blender/blenkernel/intern/font.c
index de838f1b3cd..72add476bfe 100644
--- a/source/blender/blenkernel/intern/font.c
+++ b/source/blender/blenkernel/intern/font.c
@@ -716,8 +716,10 @@ typedef struct VFontToCurveIter {
} bisect;
bool ok;
/**
- * Disables checking if word wrapping is needed to fit the text-box width.
- * Currently only used when scale-to-fit is enabled.
+ * Wrap words that extends beyond the text-box width (enabled by default).
+ *
+ * Currently only disabled when scale-to-fit is enabled,
+ * so floating-point error doesn't cause unexpected wrapping, see T89241.
*/
bool word_wrap;
int status;