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:
authorMartin Poirier <theeth@yahoo.com>2012-02-25 19:14:41 +0400
committerMartin Poirier <theeth@yahoo.com>2012-02-25 19:14:41 +0400
commit3cfb637d7ca6e51a0bd5419c709865864c671f3b (patch)
tree32e69ecb216af56c898ff1556f288138a93f4438 /release
parent69cf6adb845f1a77886a8b80cfe559361bb96964 (diff)
[#30197] Snapping: Align rotation button
Reported by Pep Ribal Volume snapping was showing invalid options.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index be5aa91db3c..bedd5a731fe 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -88,7 +88,7 @@ class VIEW3D_HT_header(Header):
row = layout.row(align=True)
row.prop(toolsettings, "use_snap", text="")
row.prop(toolsettings, "snap_element", text="", icon_only=True)
- if snap_element != 'INCREMENT':
+ if snap_element not in ('INCREMENT', 'VOLUME'):
row.prop(toolsettings, "snap_target", text="")
if obj:
if obj.mode == 'OBJECT':