Fix for bug #11676: the Spread value for particles does nothing, as
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 15 May 2008 20:45:02 +0000 (20:45 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 15 May 2008 20:45:02 +0000 (20:45 +0000)
far as I can see it would only do something if child particles could
be emitted from volume, so removed the button for now.

source/blender/src/buttons_object.c

index 13b4bf01850a9e09e0937fe12bbea874df86eba1..409063ea5ab8d42673a83771beeaca1ae1f76cb4 100644 (file)
@@ -4147,8 +4147,9 @@ static void object_panel_particle_children(Object *ob)
                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);