diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_particle.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_particle.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index e294f5487a6..08290f20a69 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -218,9 +218,13 @@ class PARTICLE_PT_context_particles(ParticleButtonsPanel, Panel): row.prop(part, "hair_step") if psys is not None and psys.is_edited: if psys.is_global_hair: - layout.operator("particle.connect_hair") + row = layout.row(align=True) + row.operator("particle.connect_hair").all = False + row.operator("particle.connect_hair", text="Connect All").all = True else: - layout.operator("particle.disconnect_hair") + row = layout.row(align=True) + row.operator("particle.disconnect_hair").all = False + row.operator("particle.disconnect_hair", text="Disconnect All").all = True elif psys is not None and part.type == 'REACTOR': split.enabled = particle_panel_enabled(context, psys) split.prop(psys, "reactor_target_object") @@ -253,7 +257,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': |