[Bf-blender-cvs] [324e8ebb96b] blender2.8: UI: put show emitter option in particles panels.
Brecht Van Lommel
noreply at git.blender.org
Tue Oct 16 16:56:09 CEST 2018
Commit: 324e8ebb96b27068758dd3da1d5a4377f08a258b
Author: Brecht Van Lommel
Date: Tue Oct 16 16:54:45 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB324e8ebb96b27068758dd3da1d5a4377f08a258b
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.
===================================================================
M release/scripts/startup/bl_ui/properties_particle.py
===================================================================
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"
More information about the Bf-blender-cvs
mailing list