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:
authorTon Roosendaal <ton@blender.org>2004-09-30 01:44:12 +0400
committerTon Roosendaal <ton@blender.org>2004-09-30 01:44:12 +0400
commit2c3e294ed51f5890a56ec6786ec71fca3c42bc31 (patch)
tree2543d6bf9ba0a1ae60ee4a337d22e38d88afe303 /source/blender/src/drawobject.c
parentc42f0fc5cf6ddd7361297d9a65e2d0bd3a4b832f (diff)
- Previous commit broke selection of non-subsurf meshes :)
- fixed crash reported by SimonC on linked dupli meshes, editmode, set subsurf on, crash...
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r--source/blender/src/drawobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c
index 73255cc36f1..01f1d5f356b 100644
--- a/source/blender/src/drawobject.c
+++ b/source/blender/src/drawobject.c
@@ -4450,7 +4450,7 @@ static int bbs_mesh_solid(Object *ob, int facecol)
a++; // the weird constructed loop ends with last drawn color...
}
else {
-
+ a= 1;
glBegin(GL_QUADS);
glmode= GL_QUADS;
for(efa= G.editMesh->faces.first; efa; efa= efa->next, a++) {