Fix for [#22128] particle sizes and physics

* size wasn't updated at all for particles with keyed or no physics
This commit is contained in:
Janne Karhu
2010-07-25 14:40:18 +00:00
parent 1e7f96343e
commit 6ec87e6095
2 changed files with 15 additions and 5 deletions

View File

@@ -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")