Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <mail@jlucke.com>2019-01-08 21:20:22 +0300
committerJacques Lucke <mail@jlucke.com>2019-01-08 21:20:56 +0300
commit12e9d52882e32d85c3890b73aa5a21aff9c787fc (patch)
tree9310070fd82ebe51f5de205183409b4ee2f427a6 /source/blender/blenkernel/BKE_unit.h
parentae2af4692009fe2c3fc97783f6d69aaa7cac5123 (diff)
Fix T60327: Value input with adaptive imperial units not working properly
Diffstat (limited to 'source/blender/blenkernel/BKE_unit.h')
-rw-r--r--source/blender/blenkernel/BKE_unit.h2
1 files changed, 1 insertions, 1 deletions
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);