diff options
author | Ton Roosendaal <ton@blender.org> | 2004-09-30 01:11:13 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-09-30 01:11:13 +0400 |
commit | c42f0fc5cf6ddd7361297d9a65e2d0bd3a4b832f (patch) | |
tree | 8bc7d3cbc4cd760881573859185e942a7e357653 /source/blender/src/glutil.c | |
parent | 6106f87776dedb4c5502ca41327f4e046442b842 (diff) |
Two small fixes;
- draw extra wire on solid displayed curve objects (cyclic filled curves)
now doesnt draw wires of filled faces
- set glPolygonOffset much more narrow now, since we dont need it for zbuf
value selecting
Diffstat (limited to 'source/blender/src/glutil.c')
-rw-r--r-- | source/blender/src/glutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/glutil.c b/source/blender/src/glutil.c index c989b13f64d..34808ce480c 100644 --- a/source/blender/src/glutil.c +++ b/source/blender/src/glutil.c @@ -500,8 +500,8 @@ void bglPolygonOffset(float dist) /* dist is from camera to center point */ - if(winmat[15]>0.5) offs= 0.00005*dist*G.vd->dist; // ortho tweaking - else offs= 0.001*dist; // should be clipping value or so... + if(winmat[15]>0.5) offs= 0.00001*dist*G.vd->dist; // ortho tweaking + else offs= 0.0005*dist; // should be clipping value or so... winmat[14]-= offs; offset+= offs; |