Revision: 14857
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14857
Author:   blendix
Date:     2008-05-15 22:45:02 +0200 (Thu, 15 May 2008)

Log Message:
-----------

Fix for bug #11676: the Spread value for particles does nothing, as
far as I can see it would only do something if child particles could
be emitted from volume, so removed the button for now.

Modified Paths:
--------------
    trunk/blender/source/blender/src/buttons_object.c

Modified: trunk/blender/source/blender/src/buttons_object.c
===================================================================
--- trunk/blender/source/blender/src/buttons_object.c   2008-05-15 20:07:07 UTC 
(rev 14856)
+++ trunk/blender/source/blender/src/buttons_object.c   2008-05-15 20:45:02 UTC 
(rev 14857)
@@ -4147,8 +4147,9 @@
                uiDefButF(block, NUM, B_PART_REDRAW, "Rand:",           
butx+butw/2,buty,butw/2,buth, &part->childrandsize, 0.0, 1.0, 10, 1, "Random 
variation to the size of the child particles");
        }
        if(part->childtype == PART_CHILD_FACES) {
-               uiDefButF(block, NUM, B_PART_REDRAW, 
"Spread:",butx,(buty-=buth),butw/2,buth, &part->childspread, -1.0, 1.0, 10, 1, 
"Spread children from the faces");
-               uiDefButBitI(block, TOG, PART_CHILD_SEAMS, B_PART_DISTR_CHILD, 
"Use Seams",      butx+butw/2,buty,butw/2,buth, &part->flag, 0, 0, 0, 0, "Use 
seams to determine parents");
+               /* only works if children could be emitted from volume, but 
that option isn't available now */
+               /*uiDefButF(block, NUM, B_PART_REDRAW, 
"Spread:",butx,(buty-=buth),butw/2,buth, &part->childspread, -1.0, 1.0, 10, 1, 
"Spread children from the faces");*/
+               uiDefButBitI(block, TOG, PART_CHILD_SEAMS, B_PART_DISTR_CHILD, 
"Use Seams",     butx,(buty-=buth),butw,buth, &part->flag, 0, 0, 0, 0, "Use 
seams to determine parents");
        }
        uiBlockEndAlign(block);
 


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to