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:03:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-12-17 06:06:47 +0300
commitde8a19077e31890cbb23a6199f0a47393406acea (patch)
treecec4b1cb128a4f799ff00264ce14932013200082 /release/scripts/startup/bl_ui/properties_physics_fluid.py
parentca277d7d6073b0ead3c38c028ab74b05d5728fea (diff)
Cleanup: rename effec -> effector
Effector is already used elsewhere for this purpose.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_fluid.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_fluid.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_fluid.py b/release/scripts/startup/bl_ui/properties_physics_fluid.py
index b46a54fc143..0aaa9d59707 100644
--- a/release/scripts/startup/bl_ui/properties_physics_fluid.py
+++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py
@@ -222,22 +222,22 @@ class PHYSICS_PT_settings(PhysicButtonsPanel, Panel):
col.prop_search(flow, "density_vertex_group", ob, "vertex_groups", text="Vertex Group")
elif md.fluid_type == 'EFFECTOR':
- effec = md.effec_settings
+ effector_settings = md.effector_settings
row = layout.row()
- row.prop(effec, "effec_type")
+ row.prop(effector_settings, "effector_type")
flow = layout.grid_flow(row_major=True, columns=0, even_columns=True, even_rows=False, align=False)
col = flow.column()
- col.prop(effec, "use_plane_init", text="Is Planar")
- col.prop(effec, "surface_distance", text="Surface Thickness")
+ col.prop(effector_settings, "use_plane_init", text="Is Planar")
+ col.prop(effector_settings, "surface_distance", text="Surface Thickness")
- if effec.effec_type == 'GUIDE':
- col.prop(effec, "velocity_factor", text="Velocity Factor")
+ if effector_settings.effector_type == 'GUIDE':
+ col.prop(effector_settings, "velocity_factor", text="Velocity Factor")
col = flow.column()
- col.prop(effec, "guide_mode", text="Guide Mode")
+ col.prop(effector_settings, "guide_mode", text="Guide Mode")
class PHYSICS_PT_borders(PhysicButtonsPanel, Panel):