[Bf-blender-cvs] [6b3c3ad5b05] fluid-mantaflow: UI fix: disable snd parts threshold field when cache is baked

Sebastián Barschkis noreply at git.blender.org
Mon Jul 3 20:00:57 CEST 2017


Commit: 6b3c3ad5b05d25811ecdb2393b6c2c7aa9e2748b
Author: Sebastián Barschkis
Date:   Mon Jul 3 19:44:20 2017 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rB6b3c3ad5b05d25811ecdb2393b6c2c7aa9e2748b

UI fix: disable snd parts threshold field when cache is baked

===================================================================

M	release/scripts/startup/bl_ui/properties_physics_smoke.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_physics_smoke.py b/release/scripts/startup/bl_ui/properties_physics_smoke.py
index c61f91f1c6a..15c188529af 100644
--- a/release/scripts/startup/bl_ui/properties_physics_smoke.py
+++ b/release/scripts/startup/bl_ui/properties_physics_smoke.py
@@ -367,6 +367,7 @@ class PHYSICS_PT_smoke_particles(PhysicButtonsPanel, Panel):
         #col.prop(domain, "use_tracer_particles", text="Tracer")
 
         col = split.column()
+        col.enabled = not domain.point_cache.is_baked
         col.label(text="")
         sub = col.column()
         sub.active = domain.use_drop_particles




More information about the Bf-blender-cvs mailing list