From 9151f5d22782dcab4fc087bb9259768a85c8ed09 Mon Sep 17 00:00:00 2001 From: Andrew Buttery Date: Sun, 12 Jan 2014 00:39:15 +0100 Subject: [PATCH] UI: Add a "New" button for the particle system, consistent to other areas like materials, world and textures. Differential Revision: https://developer.blender.org/D171 --- release/scripts/startup/bl_ui/properties_particle.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index f66364afc46..97ea332b044 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -107,6 +107,8 @@ class PARTICLE_PT_context_particles(ParticleButtonsPanel, Panel): if psys is None: part = particle_get_settings(context) + layout.operator("object.particle_system_add", icon='ZOOMIN', text="New") + if part is None: return