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:
authorMai Lavelle <mai.lavelle@gmail.com>2018-02-06 04:15:53 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-03-19 13:35:20 +0300
commit8ec398d401dff112f5469f7dafe6afab5efd8bfa (patch)
tree558fbf2bce0b6fec6fcb56589461ede98881c4b4 /release
parent9accd8852b111146baecbca4bdeda8faeb91fe32 (diff)
Fix T54003: Particles - Size and random size not present in "physics" tab in Advanced mode
The check to see if `use_advanced_hair` was enabled was actually in two places (render panel `draw` function and physics panel `poll` function). As these properties are only in one place now the check in `draw` isn't needed anymore. Related: T53513, a6c69ca57f661a8538
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_particle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py
index b069db7bb66..edb19310c44 100644
--- a/release/scripts/startup/bl_ui/properties_particle.py
+++ b/release/scripts/startup/bl_ui/properties_particle.py
@@ -1086,7 +1086,7 @@ class PARTICLE_PT_render(ParticleButtonsPanel, Panel):
col.label(text="")
if part.type == 'EMITTER' or \
- (part.render_type in {'OBJECT', 'GROUP'} and part.type == 'HAIR' and not part.use_advanced_hair):
+ (part.render_type in {'OBJECT', 'GROUP'} and part.type == 'HAIR'):
row = layout.row(align=True)
row.prop(part, "particle_size")
row.prop(part, "size_random", slider=True)