diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-16 13:42:13 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:30:11 +0300 |
commit | 755734c12f132399c8e4202849f8a74e67c75471 (patch) | |
tree | fea684d6f0f093aaffe59fbca6701fce0d1a30ce /release/scripts | |
parent | 6d65107656f0ac23ff7b8c2f7927e417400438f8 (diff) |
Second variant of the copy-to-select operator for particles to only
copy the active particle system (and not remove existing in the process).
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_particle.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index c83665c8c60..7285151a7d3 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -70,7 +70,13 @@ class PARTICLE_MT_specials(Menu): def draw(self, context): layout = self.layout - layout.operator("particle.copy_particle_systems") + props = layout.operator("particle.copy_particle_systems", text="Copy Active to Selected Objects") + props.use_active = True + props.remove_target_particles = False + + props = layout.operator("particle.copy_particle_systems", text="Copy All to Selected Objects") + props.use_active = False + props.remove_target_particles = True class PARTICLE_MT_hair_dynamics_presets(Menu): |