Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Buttery <axb2035@gmail.com>2014-01-12 03:39:15 +0400
committerThomas Dinges <blender@dingto.org>2014-01-12 03:39:39 +0400
commit9151f5d22782dcab4fc087bb9259768a85c8ed09 (patch)
tree1a8ea803f31054228ada7599f3d9b6f3c1f107e2 /release/scripts/startup/bl_ui/properties_particle.py
parentda3fdf0b4bcded2a9473279078602ac24369472a (diff)
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
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_particle.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_particle.py2
1 files changed, 2 insertions, 0 deletions
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