Bugfix for [#28258] [UV editor] missing snapping option.
authorThomas Dinges <blender@dingto.org>
Tue, 16 Aug 2011 17:43:39 +0000 (17:43 +0000)
committerThomas Dinges <blender@dingto.org>
Tue, 16 Aug 2011 17:43:39 +0000 (17:43 +0000)
*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.

release/scripts/startup/bl_ui/space_image.py

index 5d72482ce9c4bdc60b8d02e5115f66c0c8182b54..2042fa1729dc4414b8c72bbf976378a594c1d293 100644 (file)
@@ -387,7 +387,7 @@ class IMAGE_HT_header(Header):
 
             row = layout.row(align=True)
             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
             layout.prop_search(mesh.uv_textures, "active", mesh, "uv_textures", text="")