Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/src/drawobject.c7
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);