UI: 3D View: Move Live Unwrap to toolbar

The menus should be for operators, tool settings belong in the toolbar
This commit is contained in:
Aaron Carlisle 2020-09-08 11:52:27 -04:00
parent 7ca42545d1
commit 637699e78a
2 changed files with 3 additions and 3 deletions

View File

@ -1073,10 +1073,7 @@ class VIEW3D_MT_uv_map(Menu):
def draw(self, context):
layout = self.layout
tool_settings = context.tool_settings
layout.operator("uv.unwrap")
layout.prop(tool_settings, "use_edge_path_live_unwrap")
layout.separator()

View File

@ -212,6 +212,9 @@ class VIEW3D_PT_tools_meshedit_options(View3DPanel, Panel):
row.active = tool_settings.use_transform_correct_face_attributes
row.prop(tool_settings, "use_transform_correct_keep_connected")
row = layout.row(align=True, heading="UVs")
row.prop(tool_settings, "use_edge_path_live_unwrap")
row = layout.row(heading="Mirror")
sub = row.row(align=True)
sub.prop(mesh, "use_mirror_x", text="X", toggle=True)