forked from bartvdbraak/blender
Bugfix for [#28258] [UV editor] missing snapping option.
*Added back "snap_target" as we had in 2.4x. I removed the "snap_element" though, as only Vertex Snapping is supported in the UV Image Editor.
This commit is contained in:
parent
dddfb5e173
commit
2cece7b221
@ -387,7 +387,7 @@ class IMAGE_HT_header(Header):
|
|||||||
|
|
||||||
row = layout.row(align=True)
|
row = layout.row(align=True)
|
||||||
row.prop(toolsettings, "use_snap", text="")
|
row.prop(toolsettings, "use_snap", text="")
|
||||||
row.prop(toolsettings, "snap_element", text="", icon_only=True)
|
row.prop(toolsettings, "snap_target", text="")
|
||||||
|
|
||||||
mesh = context.edit_object.data
|
mesh = context.edit_object.data
|
||||||
layout.prop_search(mesh.uv_textures, "active", mesh, "uv_textures", text="")
|
layout.prop_search(mesh.uv_textures, "active", mesh, "uv_textures", text="")
|
||||||
|
Loading…
Reference in New Issue
Block a user