diff options
author | Simon Clitherow <aphex@nildram.co.uk> | 2003-07-11 00:53:59 +0400 |
---|---|---|
committer | Simon Clitherow <aphex@nildram.co.uk> | 2003-07-11 00:53:59 +0400 |
commit | d4c849391ebaf3f97def00da17a8c15df548cc85 (patch) | |
tree | eaa2c3d299a58b5828ef10a4e265c48e06da77f6 | |
parent | 5d118d2b62bde610e6cc5c47d8901bdeb1eb6c3e (diff) |
- fixed a problem with face select and vertex paint modes by removing
the check for nors != NULL (sorry miencho!).
-rw-r--r-- | source/blender/src/drawobject.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index a890d6d9d69..bc24100b954 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -1791,7 +1791,12 @@ static void drawmeshsolid(Object *ob, float *nors) if(ob->dtx & OB_DRAWWIRE) drawMeshWireExtra(ob); } - else if(nors) { /* should never be zero, but is weak code... the displist system needs a make over (ton) */ + else { /* [nors] should never be zero, but is weak code... the displist + system needs a make over (ton) + + Face select and vertex paint calls drawmeshsolid() with nors = NULL! + It's still weak code but hey, as ton says, the whole system needs + a good thrashing! ;) (aphex) */ start= 0; end= me->totface; set_buildvars(ob, &start, &end); |