[Bf-blender-cvs] [43885491241] blender2.8: Units: Change '1000 Kilograms' to 'Tonnes'

Jacques Lucke noreply at git.blender.org
Thu Oct 4 17:53:48 CEST 2018


Commit: 43885491241cf44fdab1dee8ebb24c1df17d5e47
Author: Jacques Lucke
Date:   Thu Oct 4 17:52:17 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB43885491241cf44fdab1dee8ebb24c1df17d5e47

Units: Change '1000 Kilograms' to 'Tonnes'

Reviewers: brecht

Differential Revision: https://developer.blender.org/D3766

===================================================================

M	source/blender/blenkernel/intern/unit.c

===================================================================

diff --git a/source/blender/blenkernel/intern/unit.c b/source/blender/blenkernel/intern/unit.c
index bca7b3dd357..3663ccd6513 100644
--- a/source/blender/blenkernel/intern/unit.c
+++ b/source/blender/blenkernel/intern/unit.c
@@ -203,7 +203,7 @@ static struct bUnitCollection buImperialVolCollection = {buImperialVolDef, 4, 0,
 
 /* Mass */
 static struct bUnitDef buMetricMassDef[] = {
-	{"ton", "tonnes",           "ton", "t",  "1000 Kilograms", UN_SC_MTON, 0.0,  B_UNIT_DEF_NONE},
+	{"ton", "tonnes",           "ton", "t",  "Tonnes", UN_SC_MTON, 0.0,  B_UNIT_DEF_NONE},
 	{"quintal", "quintals",     "ql",  "q",  "100 Kilograms", UN_SC_QL, 0.0,     B_UNIT_DEF_SUPPRESS},
 	{"kilogram", "kilograms",   "kg",  NULL, "Kilograms", UN_SC_KG, 0.0,         B_UNIT_DEF_NONE}, /* base unit */
 	{"hectogram", "hectograms", "hg",  NULL, "Hectograms", UN_SC_HG, 0.0,        B_UNIT_DEF_SUPPRESS},



More information about the Bf-blender-cvs mailing list