diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2013-04-10 22:35:18 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2013-04-10 22:35:18 +0400 |
commit | cbe9ae244e5af8b89e28a6fe03405bcb368ba83b (patch) | |
tree | 383220a82cfeea4845f96f298e34b98939014bf2 /release/scripts/startup/bl_ui | |
parent | ac224a64f408fcc8f90f7ea0124cbe4b9ef1e811 (diff) |
Add a gui control for setting omp threads in fluids
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_fluid.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_fluid.py b/release/scripts/startup/bl_ui/properties_physics_fluid.py index b3cd5dc5464..78bb21e76a5 100644 --- a/release/scripts/startup/bl_ui/properties_physics_fluid.py +++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py @@ -67,6 +67,7 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel, Panel): # odd formatting here so translation script can extract string layout.operator("fluid.bake", text=iface_("Bake (Req. Memory: %s)") % fluid.memory_estimate, translate=False, icon='MOD_FLUIDSIM') + layout.prop(fluid, "threads", text="Simulation Threads") split = layout.split() col = split.column() |