Fix for: [#18273] reactor particle spowns to earlier.
authorJanne Karhu <jhkarh@gmail.com>
Sat, 4 Apr 2009 14:34:39 +0000 (14:34 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Sat, 4 Apr 2009 14:34:39 +0000 (14:34 +0000)
Particle life "rand" value could be set above "1.0" allowing for negative particle lifetimes.

source/blender/src/buttons_object.c

index 04aa54f2526ae912e76d7e0331faa590f4f37c15..6f871527ab77bbbb1c8db33c193afb2679d4498d 100644 (file)
@@ -4899,7 +4899,7 @@ static void object_panel_particle_system(Object *ob)
 
        if(part->type!=PART_HAIR) {
                uiDefButF(block, NUM, B_PART_INIT, "Life:",     butx,(buty-=buth),butw,buth, &part->lifetime, 1.0, MAXFRAMEF, 100, 1, "Specify the life span of the particles");
-               uiDefButF(block, NUM, B_PART_INIT, "Rand:",     butx,(buty-=buth),butw,buth, &part->randlife, 0.0, 2.0, 10, 1, "Give the particle life a random variation");
+               uiDefButF(block, NUM, B_PART_INIT, "Rand:",     butx,(buty-=buth),butw,buth, &part->randlife, 0.0, 1.0, 10, 1, "Give the particle life a random variation");
        }
 
        uiBlockEndAlign(block);