Blender Git Loki

Git Commits -> Revision b2a7785

Revision b2a7785 by Campbell Barton (master)
August 11, 2009, 18:53 (GMT)
user interface units, off by default.

- currently only distances work.
- user preferences, edit section to set the units and scale.
- option to display pairs (nicer for imperial display?)
- support for evaluating multiple comma separated values eg: 2',11" ..or.. 5ft, 4mil
- comma separated expressions/values accumulate 1+1,2**3,4cm/3
- attempted fast conversion from a value to a string so button drawing isn't too slow.

* imperial long/short *
- mile, mi
- yard, yd
- foot, '
- inch, "
- thou, mil

* metric long/short *
kilometer, km
meter, m
centimeter, cm
millimeter, mm
micrometer, um
nanometer, nm
picometer, pm

Commit Details:

Full Hash: b2a77852ff99f1a8da8225239de68edc2aead6e2
SVN Revision: 22383
Parent Commit: 3ba949b
Lines Changed: +437, -111

2 Added Paths:

/source/blender/blenkernel/BKE_unit.h (+43, -0) (View)
/source/blender/blenkernel/intern/unit.c (+267, -0) (View)

14 Modified Paths:

/release/ui/bpy_ops.py (+0, -45) (Diff)
/release/ui/space_info.py (+11, -0) (Diff)
/source/blender/editors/interface/interface.c (+33, -5) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+9, -1) (Diff)
/source/blender/makesrna/intern/rna_lamp.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_material.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_meta.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_object.c (+8, -8) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+23, -0) (Diff)
/source/blender/makesrna/intern/rna_world.c (+5, -5) (Diff)
/source/blender/python/intern/bpy_interface.c (+16, -25) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021