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:
authorCampbell Barton <ideasman42@gmail.com>2018-11-23 05:55:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-23 05:55:33 +0300
commit1fcb3e791f320563a997c83c3ea3063b606f17b8 (patch)
tree6f2e0e828836a63d3db8c8574b44e1ee691df327 /release/scripts/startup/bl_ui/properties_particle.py
parentd56c0a0a6affcdfd7335c5fce1892a82f23bdf37 (diff)
Cleanup: single quote enums
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_particle.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_particle.py16
1 files changed, 13 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py
index 1618b2dccfa..26cb263a1d1 100644
--- a/release/scripts/startup/bl_ui/properties_particle.py
+++ b/release/scripts/startup/bl_ui/properties_particle.py
@@ -72,17 +72,27 @@ class PARTICLE_MT_specials(Menu):
def draw(self, context):
layout = self.layout
- props = layout.operator("particle.copy_particle_systems", text="Copy Active to Selected Objects", icon="COPYDOWN")
+ props = layout.operator(
+ "particle.copy_particle_systems",
+ text="Copy Active to Selected Objects",
+ icon='COPYDOWN',
+ )
props.use_active = True
props.remove_target_particles = False
- props = layout.operator("particle.copy_particle_systems", text="Copy All to Selected Objects")
+ props = layout.operator(
+ "particle.copy_particle_systems",
+ text="Copy All to Selected Objects",
+ )
props.use_active = False
props.remove_target_particles = True
layout.separator()
- layout.operator("particle.duplicate_particle_system", icon="DUPLICATE")
+ layout.operator(
+ "particle.duplicate_particle_system",
+ icon='DUPLICATE',
+ )
class PARTICLE_PT_hair_dynamics_presets(PresetMenu):