diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-18 02:03:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-18 02:08:23 +0300 |
commit | 879c9665985b36c93f21a49663df033a010d2829 (patch) | |
tree | 9ae83125c3e325f7197f8be50149a79b637a6a23 /release/scripts/startup/bl_ui/space_view3d.py | |
parent | 779e2522982f37b1ddbb559cbeaaa78ef9a95fc5 (diff) |
Transform: option to use incremental snapping
This resolves this issue where users would enable a snapping mode
besides incremental (vertex for eg), then notice strange behavior w/
rotate and scale.
While this ability can be useful, it's quite an obscure use case.
Now changing snap-modes keeps rotate and scale using incremental snap,
with the option for these modes to be affected by other snapping modes.
D4022 by @kioku w/ own minor edits.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 536a3204ad9..bfba36f255b 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -5225,6 +5225,12 @@ class VIEW3D_PT_snapping(Panel): col.prop(tool_settings, "use_snap_grid_absolute") if snap_elements != {'INCREMENT'}: + col.label(text="Affect") + row = col.row(align=True) + row.prop(tool_settings, "use_snap_force_increment_translate", text="Move") + row.prop(tool_settings, "use_snap_force_increment_rotate", text="Rotate") + row.prop(tool_settings, "use_snap_force_increment_scale", text="Scale") + col.label(text="Target") row = col.row(align=True) row.prop(tool_settings, "snap_target", expand=True) |