Fix for [#26457] Physics Size attribute affects hair particle DupliObjects while...
authorJanne Karhu <jhkarh@gmail.com>
Fri, 11 Mar 2011 11:15:35 +0000 (11:15 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Fri, 11 Mar 2011 11:15:35 +0000 (11:15 +0000)
* Forgotten settings for the "simple hair" ui.

release/scripts/ui/properties_particle.py

index dc1e395089c35d9a899afc35ca6a490b91c4388f..2539b1fe0e1842ca9c7e21204a0c77dfd330c2c6 100644 (file)
@@ -909,6 +909,10 @@ class PARTICLE_PT_render(ParticleButtonsPanel, bpy.types.Panel):
                 col = row.column()
                 col.label(text="")
 
+        if part.render_type in ('OBJECT', 'GROUP') and not part.use_advanced_hair:
+            row = layout.row(align=True)
+            row.prop(part, "particle_size")
+            row.prop(part, "size_random", slider=True)
 
 class PARTICLE_PT_draw(ParticleButtonsPanel, bpy.types.Panel):
     bl_label = "Display"