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:
authorCampbell Barton <ideasman42@gmail.com>2019-12-17 06:45:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-12-17 06:49:11 +0300
commit2564e2a2ad9605398322e3ac2c7c49cc78e0a8f0 (patch)
tree9fce13cd6818d9557cfd5ce4e943325aab156502 /release/scripts/startup/bl_ui/properties_physics_fluid.py
parent86764910908215902562ba95e8d3d5b418274c97 (diff)
Cleanup: RNA naming
- Use abbreviations min/max this is used throughout the existing API. - Rename use_adaptive_stepping to use_adaptive_timesteps since this is used with timesteps_min/max it's clearer to use matching terms.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_fluid.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_fluid.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_fluid.py b/release/scripts/startup/bl_ui/properties_physics_fluid.py
index 5a47a75cd83..25780ab9ad2 100644
--- a/release/scripts/startup/bl_ui/properties_physics_fluid.py
+++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py
@@ -161,11 +161,11 @@ class PHYSICS_PT_settings(PhysicButtonsPanel, Panel):
col.prop(domain, "cfl_condition", text="CFL Number")
col = flow.column()
- col.prop(domain, "use_adaptive_stepping", text="Use Adaptive Stepping")
+ col.prop(domain, "use_adaptive_timesteps")
col1 = col.column(align=True)
col1.enabled = domain.use_adaptive_stepping
- col1.prop(domain, "timesteps_maximum", text="Timesteps Maximum")
- col1.prop(domain, "timesteps_minimum", text="Minimum")
+ col1.prop(domain, "timesteps_max", text="Timesteps Maximum")
+ col1.prop(domain, "timesteps_min", text="Minimum")
col.separator()
@@ -438,8 +438,8 @@ class PHYSICS_PT_liquid(PhysicButtonsPanel, Panel):
col1 = flow.column(align=True)
col1.enabled = not is_baking_any and not has_baked_data
- col1.prop(domain, "particle_maximum", text="Particles Maximum")
- col1.prop(domain, "particle_minimum", text="Minimum")
+ col1.prop(domain, "particle_max", text="Particles Maximum")
+ col1.prop(domain, "particle_min", text="Minimum")
col1 = flow.column()
col1.enabled = not is_baking_any and not has_baked_data