Merging r58073 through r58111 from trunk into soc-2013-depsgraph_mt
[blender.git] / source / blender / makesdna / DNA_curve_types.h
index 437229d63a85de02b3181b25f6911f29439b508a..38cbd95b61fba138cf0bf6baf9530757b10241cb 100644 (file)
@@ -211,6 +211,10 @@ typedef struct Curve {
        void *lastsel;
        
        /* font part */
+       /* WARNING: cu->len is...
+        * - strlen(cu->str) object-mode (bytes).
+        * - BLI_strlen_utf8(cu->str) in edit-mode.
+        * This should be cleaned up and some point, see 'write_curves' - campbell */
        short len, lines, pos, spacemode;
        float spacing, linedist, shear, fsize, wordspace, ulpos, ulheight;
        float xof, yof;