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:
Diffstat (limited to 'release/ui/buttons_particle.py')
-rw-r--r--release/ui/buttons_particle.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/ui/buttons_particle.py b/release/ui/buttons_particle.py
index e51df6ef7fd..49ceaf6aae1 100644
--- a/release/ui/buttons_particle.py
+++ b/release/ui/buttons_particle.py
@@ -33,11 +33,11 @@ class PARTICLE_PT_particles(ParticleButtonsPanel):
if ob:
row = layout.row()
- row.template_list(ob, "particle_systems", "active_particle_system_index")
+ row.template_list(ob, "particle_systems", ob, "active_particle_system_index")
col = row.column(align=True)
- col.itemO("OBJECT_OT_particle_system_slot_add", icon="ICON_ZOOMIN", text="")
- col.itemO("OBJECT_OT_particle_system_slot_remove", icon="ICON_ZOOMOUT", text="")
+ col.itemO("OBJECT_OT_particle_system_add", icon="ICON_ZOOMIN", text="")
+ col.itemO("OBJECT_OT_particle_system_remove", icon="ICON_ZOOMOUT", text="")
if psys:
split = layout.split(percentage=0.65)