diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-10 03:21:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-10 03:21:30 +0300 |
commit | 9f2b3fc80e90f5ffcb334051f58df16292d81ff1 (patch) | |
tree | ed21078cb6f7209287cd6d882467513a0c864a6e /release/scripts/startup/bl_ui/properties_particle.py | |
parent | 626def1ac2b0b8a3020cbd7eee351743663c6d14 (diff) |
Cleanup: prefer parenthesis over breaking lines
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_particle.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_particle.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index 74a4daaefd4..45c63b995ee 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -1209,8 +1209,10 @@ class PARTICLE_PT_render(ParticleButtonsPanel, Panel): layout.prop(part, "render_type", text="Render As") - if part.type == 'EMITTER' or \ - (part.render_type in {'OBJECT', 'COLLECTION'} and part.type == 'HAIR'): + if ( + part.type == 'EMITTER' or + (part.render_type in {'OBJECT', 'COLLECTION'} and part.type == 'HAIR') + ): if part.render_type not in {'NONE'}: col = layout.column(align=True) |