Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2011-08-16 21:43:39 +0400
committerThomas Dinges <blender@dingto.org>2011-08-16 21:43:39 +0400
commit2cece7b221ebf0c1f9ae1b904d6961cb898b0eb3 (patch)
tree0857d78eb75bb38ff06d3e650d54f77fbd898596 /release/scripts/startup/bl_ui/space_image.py
parentdddfb5e1738830c325e796a474d0ea14d64654f3 (diff)
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.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 5d72482ce9c..2042fa1729d 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -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="")