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:
authorAlex Fraser <alex@phatcore.com>2011-09-25 15:51:28 +0400
committerAlex Fraser <alex@phatcore.com>2011-09-25 15:51:28 +0400
commit558b646216feaa43abf44eb332d2449c68bf1b39 (patch)
treefd723cb9ceeef9bc715f08ab9ae62a8698f54a0d /release/scripts
parent9931c9442e16867ac2117a60b5a41839df76a454 (diff)
Committing patch #27442: Adaptive time step for fluid particles. The number of
subframes can now be altered automatically while an SPH (fluid particle) simulation is running.
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/properties_particle.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py
index d4378b0d094..edd5745cf17 100644
--- a/release/scripts/startup/bl_ui/properties_particle.py
+++ b/release/scripts/startup/bl_ui/properties_particle.py
@@ -476,7 +476,12 @@ class PARTICLE_PT_physics(ParticleButtonsPanel, Panel):
col.label(text="Integration:")
col.prop(part, "integrator", text="")
col.prop(part, "timestep")
- col.prop(part, "subframes")
+ sub = col.row()
+ if part.adaptive_subframes:
+ sub.prop(part, "courant_target", text="Threshold")
+ else:
+ sub.prop(part, "subframes")
+ sub.prop(part, "adaptive_subframes", text="")
row = layout.row()
row.prop(part, "use_size_deflect")