diff options
author | Martin Poirier <theeth@yahoo.com> | 2012-02-25 19:14:41 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2012-02-25 19:14:41 +0400 |
commit | 3cfb637d7ca6e51a0bd5419c709865864c671f3b (patch) | |
tree | 32e69ecb216af56c898ff1556f288138a93f4438 | |
parent | 69cf6adb845f1a77886a8b80cfe559361bb96964 (diff) |
[#30197] Snapping: Align rotation button
Reported by Pep Ribal
Volume snapping was showing invalid options.
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 2 |
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': |