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>2009-12-07 20:55:58 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-12-07 20:55:58 +0300
commit4a23c3f9e1aaaefcb7b5586b908c51d2922d71fb (patch)
tree1a686be1348ef5bb334e250bcb49b9ca503c8f87 /release
parentf8f7f5755768fa745b5dc759974ff38c45261a9c (diff)
Particles: child editing bugfixes
* Make partial update work again for faster editing. * Draw parents over children again, nicer for editing. * Fix crash with remove tools & showing child particles. * Fix children not disappearing always when setting to None. * Fix wrong normal for last point in child path. * Fix a python error in the hair dynamics panel.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/properties_particle.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_particle.py b/release/scripts/ui/properties_particle.py
index d95455f7c10..3577ba961b3 100644
--- a/release/scripts/ui/properties_particle.py
+++ b/release/scripts/ui/properties_particle.py
@@ -208,6 +208,10 @@ class PARTICLE_PT_hair_dynamics(ParticleButtonsPanel):
layout = self.layout
psys = context.particle_system
+
+ if not psys.cloth:
+ return
+
#part = psys.settings
cloth = psys.cloth.settings
@@ -298,8 +302,8 @@ class PARTICLE_PT_velocity(ParticleButtonsPanel):
sub.prop(part, "random_factor")
#if part.type=='REACTOR':
- # sub.prop(part, "reactor_factor")
- # sub.prop(part, "reaction_shape", slider=True)
+ # sub.prop(part, "reactor_factor")
+ # sub.prop(part, "reaction_shape", slider=True)
class PARTICLE_PT_rotation(ParticleButtonsPanel):