diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-05 14:19:36 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-05 14:19:36 +0400 |
commit | 133a7df75e2bdd7efe82c7d50389cf198433684d (patch) | |
tree | 12bd5dedf7dd9c8cd342af5976ad2a30d9bef3ca /release | |
parent | e5647ea196c360905d8f0e1c1b2fad1745cb5cf5 (diff) |
Disable x-mirror option when proportional edit is enabled.
This option isn't supported because it behaves strangely in 50% of cases and
hopefully disabled x-mirror will stop users be confused by this.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 96201a4b960..e6869a0d204 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -179,18 +179,21 @@ class VIEW3D_PT_tools_meshedit_options(View3DPanel, Panel): ob = context.active_object if ob: + tool_settings = context.tool_settings mesh = ob.data + col = layout.column(align=True) + col.active = tool_settings.proportional_edit == 'DISABLED' col.prop(mesh, "use_mirror_x") - sub = col.column() - sub.active = ob.data.use_mirror_x - sub.prop(mesh, "use_mirror_topology") - ts = context.tool_settings + row = col.row() + row.active = ob.data.use_mirror_x + row.prop(mesh, "use_mirror_topology") - col.label("Edge Select Mode") - col.prop(ts, "edge_path_mode", text="") - col.prop(context.tool_settings, "edge_path_live_unwrap") + col = layout.column(align=True) + col.label("Edge Select Mode:") + col.prop(tool_settings, "edge_path_mode", text="") + col.prop(tool_settings, "edge_path_live_unwrap") # ********** default tools for editmode_curve **************** |