diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-12 21:02:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-12 21:02:03 +0400 |
commit | b8fcda9ea57d65b1b956695bb1ff17c4e41f0ab4 (patch) | |
tree | 5432de8c52a64de915b403708ddeb0ec5b273215 /source/blender/blenkernel/BKE_unit.h | |
parent | a86aa8c34b6fd7a5f41d33cf84a860525b7448e0 (diff) |
unit grid snap while transforming, display units in the header.
Diffstat (limited to 'source/blender/blenkernel/BKE_unit.h')
-rw-r--r-- | source/blender/blenkernel/BKE_unit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_unit.h b/source/blender/blenkernel/BKE_unit.h index c64c5aa50a1..df299718673 100644 --- a/source/blender/blenkernel/BKE_unit.h +++ b/source/blender/blenkernel/BKE_unit.h @@ -39,6 +39,9 @@ int bUnit_ReplaceString(char *str, char *str_orig, char *str_prev, double scale /* the size of the unit used for this value (used for calculating the ckickstep) */ double bUnit_ClosestScalar(double value, int system, int type); +/* base scale for these units */ +double bUnit_BaseScalar(int system, int type); + /* loop over scales, coudl add names later */ //double bUnit_Iter(void **unit, char **name, int system, int type); |