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:
authorCampbell Barton <ideasman42@gmail.com>2009-08-12 11:23:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-08-12 11:23:10 +0400
commit63b276efbfa814e813692b1a8d6cb0ddda08bf93 (patch)
tree1794d2ae484d8508203ff557f1c5f60814fff6be /source/blender/blenkernel/BKE_unit.h
parentd1085715a3b52bc31176a6accfa0b4838d99c2ab (diff)
- was displaying 1cm as 10mm because of double precission problem.
- typing in numbers without any units will use the units displayed before editing the value. - fixed some errors
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 14b805c23f6..6b72c01bf0a 100644
--- a/source/blender/blenkernel/BKE_unit.h
+++ b/source/blender/blenkernel/BKE_unit.h
@@ -34,7 +34,7 @@ extern "C" {
void bUnit_AsString(char *str, double value, int prec, int system, int type, int split, int pad);
/* replace units with values, used before python button evaluation */
-int bUnit_ReplaceString(char *str, char *str_orig, double scale_pref, int system, int type);
+int bUnit_ReplaceString(char *str, char *str_orig, char *str_prev, double scale_pref, int system, int type);
#ifdef __cplusplus
}