diff options
author | Ton Roosendaal <ton@blender.org> | 2004-11-04 18:35:24 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-11-04 18:35:24 +0300 |
commit | 0ad6944283ba9ebeb203422404d3a09df4003761 (patch) | |
tree | dc0ee64db62b1618bbfa9b70f85ee7ee5e88047a /source/blender/src/drawobject.c | |
parent | 772b66d79f862619ed1d0be37d364ef0553b7114 (diff) |
- MBall displays smooth again in 3d win (coding nice smooth for curves
borkened this... )
- Improved rule for adding face (FKEY); it now checks first for existance
of 4 connected edges, if that exists a face is created anyway, otherwise
it does the convex test. Alexander correctly noted that for subsurfs
non-convex quads should be allowed anyway. Hope this rule satisfies it.
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r-- | source/blender/src/drawobject.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index f3a17450583..4184026acbb 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -1506,6 +1506,10 @@ static void drawDispListsolid(ListBase *lb, Object *ob) if(ob->transflag & OB_NEG_SCALE) glFrontFace(GL_CW); else glFrontFace(GL_CCW); + if(ob->type==OB_MBALL) { // mball always smooth shaded + glShadeModel(GL_SMOOTH); + } + dl= lb->first; while(dl) { data= dl->verts; |