Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-06-09 20:49:33 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-06-09 20:49:33 +0400
commit4e2bb896b0cb0adad94158fd53a0de505b9df642 (patch)
treef3a7dcc4756ca17fabc1b24bd290aec315a18215 /source/blender/src
parentf39758cddca1d6eeec299e8cd3eef9a2a1852e32 (diff)
Added back a feature from the old particle system: negative start frame.
At the moment this does mean it will compute all the frames before the point caching start frame on the first frame, which might be slow.
Diffstat (limited to 'source/blender/src')
-rw-r--r--source/blender/src/buttons_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c
index 52261f7d3fb..ba409723784 100644
--- a/source/blender/src/buttons_object.c
+++ b/source/blender/src/buttons_object.c
@@ -4832,7 +4832,7 @@ static void object_panel_particle_system(Object *ob)
uiDefButS(block, NUM, B_PART_RECALC, "Segments:", butx,(buty-=buth),butw,buth, &part->hair_step, 2.0, 50.0, 0, 0, "Amount of hair segments");
}
else {
- uiDefButF(block, NUM, B_PART_INIT, "Sta:", butx,(buty-=buth),butw,buth, &part->sta, 1.0, part->end, 100, 1, "Frame # to start emitting particles");
+ uiDefButF(block, NUM, B_PART_INIT, "Sta:", butx,(buty-=buth),butw,buth, &part->sta, -MAXFRAMEF, part->end, 100, 1, "Frame # to start emitting particles");
uiDefButF(block, NUM, B_PART_INIT, "End:", butx,(buty-=buth),butw,buth, &part->end, part->sta, MAXFRAMEF, 100, 1, "Frame # to stop emitting particles");
}