forked from bartvdbraak/blender
Unit System: remove 'm' as an alternate name for mile
Now when using imperial dimensions, using 'm' suffix is treated as meters instead of miles (use 'mi' or 'mile' instead). Resolves T65731
This commit is contained in:
parent
30c431d662
commit
934b3c74f3
@ -157,7 +157,7 @@ static struct bUnitDef buMetricLenDef[] = {
|
||||
static const struct bUnitCollection buMetricLenCollection = {buMetricLenDef, 3, 0, UNIT_COLLECTION_LENGTH(buMetricLenDef)};
|
||||
|
||||
static struct bUnitDef buImperialLenDef[] = {
|
||||
{"mile", "miles", "mi", "m", "Miles", "MILES", UN_SC_MI, 0.0, B_UNIT_DEF_NONE},
|
||||
{"mile", "miles", "mi", NULL, "Miles", "MILES", UN_SC_MI, 0.0, B_UNIT_DEF_NONE},
|
||||
{"furlong", "furlongs", "fur", NULL, "Furlongs", "FURLONGS", UN_SC_FUR, 0.0, B_UNIT_DEF_SUPPRESS},
|
||||
{"chain", "chains", "ch", NULL, "Chains", "CHAINS", UN_SC_CH, 0.0, B_UNIT_DEF_SUPPRESS},
|
||||
{"yard", "yards", "yd", NULL, "Yards", "YARDS", UN_SC_YD, 0.0, B_UNIT_DEF_SUPPRESS},
|
||||
|
Loading…
Reference in New Issue
Block a user