From 12e9d52882e32d85c3890b73aa5a21aff9c787fc Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Tue, 8 Jan 2019 19:20:22 +0100 Subject: Fix T60327: Value input with adaptive imperial units not working properly --- source/blender/blenkernel/BKE_unit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/BKE_unit.h') diff --git a/source/blender/blenkernel/BKE_unit.h b/source/blender/blenkernel/BKE_unit.h index 59475d3098a..b19cc340bbf 100644 --- a/source/blender/blenkernel/BKE_unit.h +++ b/source/blender/blenkernel/BKE_unit.h @@ -46,7 +46,7 @@ bool bUnit_ReplaceString(char *str, int len_max, const char *str_prev, double sc bool bUnit_ContainsUnit(const char *str, int system, int type); /* if user does not specify a unit, multiply with this value */ -double bUnit_PreferredUnitScalar(const struct UnitSettings *settings, int type); +double bUnit_PreferredInputUnitScalar(const struct UnitSettings *settings, int type); /* make string keyboard-friendly: 10µm --> 10um */ void bUnit_ToUnitAltName(char *str, int len_max, const char *orig_str, int system, int type); -- cgit v1.2.3