[Bf-committers] a little improve 6 (fix part of bug 994)
Joilnen Batista Leite
bf-committers@blender.org
Wed, 3 Mar 2004 07:08:25 -0800 (PST)
--0-1249752692-1078326505=:64166
Content-Type: text/plain; charset=us-ascii
Content-Id:
Content-Disposition: inline
i think that it solve the face limit but i don't know
if is the best form.
so thanks for coments(and commit :)).
pub 1024D/5139533E Joilnen Batista Leite
F565 BD0B 1A39 390D 827E 03E5 0CD4 0F20 5139 533E
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
--0-1249752692-1078326505=:64166
Content-Type: text/plain; name=vpaint_patch
Content-Description: vpaint_patch
Content-Disposition: inline; filename=vpaint_patch
fix part of bug 994
--- source/blender/src/vpaint.c 2004-03-03 09:57:27.000000000 -0300
+++ vpaint.c 2004-03-03 10:01:10.000000000 -0300
@@ -1108,12 +1108,6 @@
ob= OBACT;
me= get_mesh(ob);
- if(me && me->totface>=MAXINDEX) {
- error("Maximum number of faces: %d", MAXINDEX-1);
- G.f &= ~G_WEIGHTPAINT;
- return;
- }
-
// if(me && me->tface==NULL && me->mcol==NULL) make_vertexcol();
if(G.f & G_WEIGHTPAINT) G.f &= ~G_WEIGHTPAINT;
@@ -1144,12 +1138,6 @@
ob= OBACT;
me= get_mesh(ob);
- if(me && me->totface>=MAXINDEX) {
- error("Maximum number of faces: %d", MAXINDEX-1);
- G.f &= ~G_VERTEXPAINT;
- return;
- }
-
if(me && me->tface==NULL && me->mcol==NULL) make_vertexcol();
if(G.f & G_VERTEXPAINT){
--0-1249752692-1078326505=:64166--