Fix particle count being grayed out when emitting from verts, but grid is on.

Differential Revision: https://developer.blender.org/D1675
This commit is contained in:
Eberhard Höpfner 2015-12-17 01:17:55 +01:00 committed by Brecht Van Lommel
parent 88191f7fa3
commit d970f02ee1
Notes: blender-bot 2023-02-14 08:59:10 +01:00
Referenced by issue #47009, Value typing issue in pie menu
Referenced by issue #47011, BMesh boolean fails when either meshes are themselves self intersecting
Referenced by issue #47005, Zooming gets slower in Node Editor with international fonts enabled
1 changed files with 1 additions and 1 deletions

View File

@ -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':