diff options
author | Janne Karhu <jhkarh@gmail.com> | 2010-09-02 10:58:54 +0400 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2010-09-02 10:58:54 +0400 |
commit | 35535c2cb9dce98dc9eb7dec7337cce40ad6d9d9 (patch) | |
tree | 404c4e0d1ddac1b7fa8b9c4ef64609c44bf4fe3d /release | |
parent | ad0a176a228adb19ea0161584250e2216833a530 (diff) |
Fix for [#23136] Particle display percentage "forgotten" after render
* The actual problem was that the total amount of particles was rendered at all, since only the displayed percentage was calculated correctly.
* New behavior is that before baking (baking is always done for full % of particles) the display % is used for rendering too for dynamic particles.
* Also added a warning below the display % slider to inform about the situation.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/properties_particle.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/release/scripts/ui/properties_particle.py b/release/scripts/ui/properties_particle.py index c62e8cad4bf..3788250ac1c 100644 --- a/release/scripts/ui/properties_particle.py +++ b/release/scripts/ui/properties_particle.py @@ -862,6 +862,15 @@ class PARTICLE_PT_draw(ParticleButtonsPanel, bpy.types.Panel): else: row.label(text="") + if part.draw_percentage != 100: + if part.type == 'HAIR': + if psys.hair_dynamics and psys.point_cache.is_baked == False: + layout.row().label(text="Display percentage makes dynamics inaccurate without baking!") + else: + phystype = part.physics_type + if phystype != 'NO' and phystype != 'KEYED' and psys.point_cache.is_baked == False: + layout.row().label(text="Display percentage makes dynamics inaccurate without baking!") + row = layout.row() col = row.column() col.prop(part, "show_size") |