[Bf-blender-cvs] [4b62d989847] master: Fluid: Fix python script after refactor

Sergey Sharybin noreply at git.blender.org
Tue Dec 17 11:13:28 CET 2019


Commit: 4b62d989847b821f35443eb3704a5b8e78a5e3c2
Author: Sergey Sharybin
Date:   Tue Dec 17 11:13:00 2019 +0100
Branches: master
https://developer.blender.org/rB4b62d989847b821f35443eb3704a5b8e78a5e3c2

Fluid: Fix python script after refactor

Missing part in 2564e2a2ad9.

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

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

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

diff --git a/release/scripts/startup/bl_ui/properties_physics_fluid.py b/release/scripts/startup/bl_ui/properties_physics_fluid.py
index 25780ab9ad2..6b0dd7ac36f 100644
--- a/release/scripts/startup/bl_ui/properties_physics_fluid.py
+++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py
@@ -163,7 +163,7 @@ class PHYSICS_PT_settings(PhysicButtonsPanel, Panel):
             col = flow.column()
             col.prop(domain, "use_adaptive_timesteps")
             col1 = col.column(align=True)
-            col1.enabled = domain.use_adaptive_stepping
+            col1.enabled = domain.use_adaptive_timesteps
             col1.prop(domain, "timesteps_max", text="Timesteps Maximum")
             col1.prop(domain, "timesteps_min", text="Minimum")



More information about the Bf-blender-cvs mailing list