From d970f02ee162c2bb3191fb17d7be85ad71becbfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eberhard=20H=C3=B6pfner?= Date: Thu, 17 Dec 2015 01:17:55 +0100 Subject: Fix particle count being grayed out when emitting from verts, but grid is on. Differential Revision: https://developer.blender.org/D1675 --- release/scripts/startup/bl_ui/properties_particle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index e294f5487a6..207f6f86820 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -253,7 +253,7 @@ class PARTICLE_PT_emission(ParticleButtonsPanel, Panel): layout.enabled = particle_panel_enabled(context, psys) and (psys is None or not psys.has_multiple_caches) row = layout.row() - row.active = part.distribution != 'GRID' + row.active = part.emit_from == 'VERT' or part.distribution != 'GRID' row.prop(part, "count") if part.type == 'HAIR': -- cgit v1.2.3