From 1dc4db7775f0a7a078aa32f44d51cd495528ec4d Mon Sep 17 00:00:00 2001 From: Janne Karhu Date: Fri, 18 Feb 2011 00:40:15 +0000 Subject: Fix for [#26120] Particle Grid options available when shouldn't --- release/scripts/ui/properties_particle.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'release') diff --git a/release/scripts/ui/properties_particle.py b/release/scripts/ui/properties_particle.py index f84b052df73..34dd6ab77de 100644 --- a/release/scripts/ui/properties_particle.py +++ b/release/scripts/ui/properties_particle.py @@ -226,7 +226,9 @@ class PARTICLE_PT_emission(ParticleButtonsPanel, bpy.types.Panel): row.prop(part, "emit_from", expand=True) row = layout.row() - if part.distribution == 'GRID': + if part.emit_from == 'VERT': + row.prop(part, "use_emit_random") + elif part.distribution == 'GRID': row.prop(part, "invert_grid") row.prop(part, "hexagonal_grid") else: -- cgit v1.2.3