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-07-25 18:40:18 +0400
committerJanne Karhu <jhkarh@gmail.com>2010-07-25 18:40:18 +0400
commit6ec87e60955cfa2e2737cdf9c1cc902c73f37d08 (patch)
tree07c0ea127b133064e485114195542cbc6761809b /release
parent1e7f96343efd1472b9f827e5f5d3fd7f984b8612 (diff)
Fix for [#22128] particle sizes and physics
* size wasn't updated at all for particles with keyed or no physics
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/properties_particle.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/release/scripts/ui/properties_particle.py b/release/scripts/ui/properties_particle.py
index 58e602dd1e2..f858c9b8511 100644
--- a/release/scripts/ui/properties_particle.py
+++ b/release/scripts/ui/properties_particle.py
@@ -401,11 +401,12 @@ class PARTICLE_PT_physics(ParticleButtonsPanel):
else:
row.prop(part, "physics_type", text="")
+ row = layout.row()
+ col = row.column(align=True)
+ col.prop(part, "particle_size")
+ col.prop(part, "random_size", slider=True)
+
if part.physics_type != 'NO':
- row = layout.row()
- col = row.column(align=True)
- col.prop(part, "particle_size")
- col.prop(part, "random_size", slider=True)
col = row.column(align=True)
col.prop(part, "mass")
col.prop(part, "sizemass", text="Multiply mass with size")