[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39297] trunk/blender/source/blender/ blenkernel/intern/unit.c: fix [#28213] Imperial unit for 0. 001 inches inconsistently displayed as mils and thous
Campbell Barton
ideasman42 at gmail.com
Thu Aug 11 10:24:56 CEST 2011
Revision: 39297
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39297
Author: campbellbarton
Date: 2011-08-11 08:24:56 +0000 (Thu, 11 Aug 2011)
Log Message:
-----------
fix [#28213] Imperial unit for 0.001 inches inconsistently displayed as mils and thous
Modified Paths:
--------------
trunk/blender/source/blender/blenkernel/intern/unit.c
Modified: trunk/blender/source/blender/blenkernel/intern/unit.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/unit.c 2011-08-11 07:24:39 UTC (rev 39296)
+++ trunk/blender/source/blender/blenkernel/intern/unit.c 2011-08-11 08:24:56 UTC (rev 39297)
@@ -136,7 +136,7 @@
{"yard", "yards", "yd", NULL, "Yards", UN_SC_YD, 0.0, B_UNIT_DEF_NONE},
{"foot", "feet", "'", "ft", "Feet", UN_SC_FT, 0.0, B_UNIT_DEF_NONE}, /* base unit */
{"inch", "inches", "\"", "in", "Inches", UN_SC_IN, 0.0, B_UNIT_DEF_NONE},
- {"thou", "thous", "mil", NULL, "Thous", UN_SC_MIL, 0.0, B_UNIT_DEF_NONE},
+ {"thou", "thou", "thou", "mil", "Thou", UN_SC_MIL, 0.0, B_UNIT_DEF_NONE}, /* plural for thou has no 's' */
{NULL, NULL, NULL, NULL, NULL, 0.0, 0.0}
};
static struct bUnitCollection buImperialLenCollecton = {buImperialLenDef, 4, 0, sizeof(buImperialLenDef)/sizeof(bUnitDef)};
More information about the Bf-blender-cvs
mailing list