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-02-18 13:58:03 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-02-18 13:58:03 +0300
commit46f2e465cef89bcf493855d0f77abb5f7a4246fd (patch)
tree83ac1c60927a55d3773ca67124ea324148a3c0dd /source/blender/src/buttons_object.c
parent785b4dcdda5f03c81395cd1862bd7d550621ba46 (diff)
Bugfix: hair effector settings only showed when the hair was editable,
but they work also if the hair is not editable.
Diffstat (limited to 'source/blender/src/buttons_object.c')
-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 d7cef42171e..5952dea3a2b 100644
--- a/source/blender/src/buttons_object.c
+++ b/source/blender/src/buttons_object.c
@@ -4189,7 +4189,7 @@ static void object_panel_particle_extra(Object *ob)
buty=butx=160;
uiDefButI(block, NUM, B_PART_DISTR, "Seed:", butx,(buty-=buth),butw,buth, &psys->seed, 0.0, 255.0, 1, 0, "Set an offset in the random table");
- if(part->type == PART_HAIR && psys->flag & PSYS_EDITED) {
+ if(part->type == PART_HAIR) {
uiBlockBeginAlign(block);
uiDefButF(block, NUM, B_PART_RECALC, "Stiff:", butx,(buty-=buth),(butw*3)/5,buth, &part->eff_hair, 0.0, 1.0, 0, 0, "Hair stiffness for effectors");
uiDefButBitI(block, TOG, PART_CHILD_EFFECT, B_PART_RECALC, "Children", butx+(butw*3)/5,buty,(butw*2)/5,buth, &part->flag, 0, 0, 0, 0, "Apply effectors to children");