[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13743] trunk/blender/source/blender/src/ buttons_object.c:
Brecht Van Lommel
brechtvanlommel at pandora.be
Mon Feb 18 11:58:03 CET 2008
Revision: 13743
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13743
Author: blendix
Date: 2008-02-18 11:58:03 +0100 (Mon, 18 Feb 2008)
Log Message:
-----------
Bugfix: hair effector settings only showed when the hair was editable,
but they work also if the hair is not editable.
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-02-18 10:49:46 UTC (rev 13742)
+++ trunk/blender/source/blender/src/buttons_object.c 2008-02-18 10:58:03 UTC (rev 13743)
@@ -4189,7 +4189,7 @@
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");
More information about the Bf-blender-cvs
mailing list