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:
authorJanne Karhu <jhkarh@gmail.com>2010-09-02 10:58:54 +0400
committerJanne Karhu <jhkarh@gmail.com>2010-09-02 10:58:54 +0400
commit35535c2cb9dce98dc9eb7dec7337cce40ad6d9d9 (patch)
tree404c4e0d1ddac1b7fa8b9c4ef64609c44bf4fe3d /release/scripts
parentad0a176a228adb19ea0161584250e2216833a530 (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/scripts')
-rw-r--r--release/scripts/ui/properties_particle.py9
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")