diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-06-20 04:30:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-06-20 04:30:10 +0400 |
commit | c8b6425f617df7b8ba7cc9265f253c4a1a049533 (patch) | |
tree | 8deddb4e91f049a3f06210e91385a2c45e836fdb /source/blender/python/api2_2x/Draw.c | |
parent | 77506aa1411fdf273abac41a0bc51dc56d0a5386 (diff) |
scaled comparison adjustment only effects editmode select group
documented a workaround for python drawinf pixel aligned text in teh 2d view
Added links from Draw.Test to the OpenGL functions that set the location and color.
Diffstat (limited to 'source/blender/python/api2_2x/Draw.c')
-rw-r--r-- | source/blender/python/api2_2x/Draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Draw.c b/source/blender/python/api2_2x/Draw.c index 28fefb204a8..fa96e6e70a7 100644 --- a/source/blender/python/api2_2x/Draw.c +++ b/source/blender/python/api2_2x/Draw.c @@ -1149,7 +1149,7 @@ static PyObject *Method_Number( PyObject * self, PyObject * args ) /* set the precission to display*/ if (range>=100.0f) precission=1.0f; else if (range>=10.0f) precission=2.0f; - else if (range>1.0f) precission=3.0f; + else if (range>=1.0f) precission=3.0f; else precission=4.0f; but->type = BFLOAT_TYPE; |