From 22ddd573638582ad5213bb4a7ff23ccae50dd285 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Wed, 9 Jan 2019 10:39:31 +0100 Subject: Fix T60338: Allow user to input units of another system --- 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 b19cc340bbf..81da3bea3d6 100644 --- a/source/blender/blenkernel/BKE_unit.h +++ b/source/blender/blenkernel/BKE_unit.h @@ -43,7 +43,7 @@ size_t bUnit_AsString2(char *str, int len_max, double value, int prec, int type, bool bUnit_ReplaceString(char *str, int len_max, const char *str_prev, double scale_pref, int system, int type); /* return true if the string contains any valid unit for the given type */ -bool bUnit_ContainsUnit(const char *str, int system, int type); +bool bUnit_ContainsUnit(const char *str, int type); /* if user does not specify a unit, multiply with this value */ double bUnit_PreferredInputUnitScalar(const struct UnitSettings *settings, int type); -- cgit v1.2.3