UI: move auto-merge option to mesh options panel

This can be used even w/o snap.
This commit is contained in:
Campbell Barton 2018-06-12 21:16:50 +02:00
parent 81f24dd781
commit 94e0abda75
3 changed files with 4 additions and 6 deletions

View File

@ -269,11 +269,6 @@ class TOPBAR_PT_snapping(Panel):
if 'VOLUME' in snap_elements:
col.prop(toolsettings, "use_snap_peel_object")
# Auto-Merge Editing
if obj:
if (object_mode == 'EDIT' and obj.type == 'MESH'):
col.prop(toolsettings, "use_mesh_automerge", icon='AUTOMERGE_ON')
class INFO_MT_editor_menus(Menu):
bl_idname = "INFO_MT_editor_menus"

View File

@ -173,7 +173,8 @@ class VIEW3D_HT_header(Header):
text=""
)
layout.prop(scene, "transform_orientation", text="")
if mode in {'OBJECT', 'EDIT', 'POSE'}:
layout.prop(scene, "transform_orientation", text="")
layout.separator()

View File

@ -104,6 +104,8 @@ class VIEW3D_PT_tools_meshedit_options(View3DPanel, Panel):
col.prop(tool_settings, "edge_path_live_unwrap")
col.label("Double Threshold:")
col.prop(tool_settings, "double_threshold", text="")
col.prop(tool_settings, "use_mesh_automerge") # , icon='AUTOMERGE_ON'
# ********** default tools for editmode_curve ****************