(no commit message)
authorLukas Steiblys <imbusy@imbusy.org>
Thu, 11 Feb 2010 21:55:07 +0000 (21:55 +0000)
committerLukas Steiblys <imbusy@imbusy.org>
Thu, 11 Feb 2010 21:55:07 +0000 (21:55 +0000)
source/blender/blenkernel/intern/cdderivedmesh.c

index c091a7b251fe4f8e106f51a36a62b30b11df308e..6f18a590d29ecd988f15f08b9edc3f3ace5cec80 100644 (file)
@@ -1041,6 +1041,7 @@ static void cdDM_drawMappedFacesGLSL(DerivedMesh *dm, int (*setMaterial)(int, vo
                                                        GPU_buffer_free(buffer,0);
                                                }
                                        }
+                                       numdata = 0;
                                        start = curface;
                                        prevdraw = dodraw;
                                        dodraw = setMaterial(matnr = new_matnr, &gattribs);