diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-16 17:54:45 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-16 17:54:45 +0300 |
commit | 324e8ebb96b27068758dd3da1d5a4377f08a258b (patch) | |
tree | ed6a73c5b791cd5655e2bd84659c8ef591bed64e /release/scripts/startup/bl_ui/properties_particle.py | |
parent | 4aac9c934fe50b518d601700eeb225827ffab3d4 (diff) |
UI: put show emitter option in particles panels.
This settings is duplicated from the object duplication panel, but
otherwise it's too hard to find.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_particle.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_particle.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index 45c63b995ee..68b7c5c7187 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -1226,6 +1226,10 @@ class PARTICLE_PT_render(ParticleButtonsPanel, Panel): col.prop(part, "material_slot", text="Material") col.prop(psys, "parent", text="Coordinate System") + if context.object: + layout.separator() + layout.prop(context.object, "show_duplicator_for_render", text="Show Emitter") + class PARTICLE_PT_render_extra(ParticleButtonsPanel, Panel): bl_label = "Extra" @@ -1618,7 +1622,7 @@ class PARTICLE_PT_draw(ParticleButtonsPanel, Panel): if phystype != 'NO' and phystype != 'KEYED' and psys.point_cache.is_baked is False: layout.row().label(text="Display percentage makes dynamics inaccurate without baking") else: - layout.row().label(text="") + layout.separator() col = layout.column() col.prop(part, "show_guide_hairs", text="Guide Hairs") @@ -1628,6 +1632,10 @@ class PARTICLE_PT_draw(ParticleButtonsPanel, Panel): if part.physics_type == 'BOIDS': col.prop(part, "show_health") + if context.object: + layout.separator() + layout.prop(context.object, "show_duplicator_for_viewport", text="Show Emitter") + class PARTICLE_PT_children(ParticleButtonsPanel, Panel): bl_label = "Children" |