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:
authorJanne Karhu <jhkarh@gmail.com>2010-12-13 13:45:24 +0300
committerJanne Karhu <jhkarh@gmail.com>2010-12-13 13:45:24 +0300
commit7bf5d9449c615120169eb290a3a8f46e53157340 (patch)
treef22fd585496ad7bc1ea7e617863a744441ed0614 /release
parentc85adcc2e439b7ecfede6e01a6e21f2f6258406b (diff)
"Fix" for [#25184] Forces for growing hair - update inconsistency - as discussed with Jahka on Saturday on IRC
* New option to "Regrow hair" for each frame. * This was perhaps more a feature request, but there was a similar useful feature called "animated hair" in particles at some point. * The previous behavior for hair growing was inconsistent to say the least, so this is a nice option to have.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/properties_particle.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_particle.py b/release/scripts/ui/properties_particle.py
index 1565ece3b40..af60c5fd784 100644
--- a/release/scripts/ui/properties_particle.py
+++ b/release/scripts/ui/properties_particle.py
@@ -125,7 +125,9 @@ class PARTICLE_PT_context_particles(ParticleButtonsPanel, bpy.types.Panel):
if psys.is_edited:
split.operator("particle.edited_clear", text="Free Edit")
else:
- split.label(text="")
+ row = split.row()
+ row.enabled = particle_panel_enabled(context, psys)
+ row.prop(part, "regrow_hair")
row = split.row()
row.enabled = particle_panel_enabled(context, psys)
row.prop(part, "hair_step")