Transform: customizable rotation snap increment values
Add two snapping increment options: a regular value (activated with Ctrl) and a precise value (activated with Ctrl+Shift). These values are separate for 2D and 3D views. Ref !118760
This commit is contained in:
committed by
Campbell Barton
parent
32151abfc3
commit
060174cf14
@@ -996,6 +996,10 @@ class IMAGE_PT_snapping(Panel):
|
||||
row.prop(tool_settings, "use_snap_translate", text="Move", toggle=True)
|
||||
row.prop(tool_settings, "use_snap_rotate", text="Rotate", toggle=True)
|
||||
row.prop(tool_settings, "use_snap_scale", text="Scale", toggle=True)
|
||||
col.label(text="Rotation Increment")
|
||||
row = col.row(align=True)
|
||||
row.prop(tool_settings, "snap_angle_increment_2d", text="")
|
||||
row.prop(tool_settings, "snap_angle_increment_2d_precision", text="")
|
||||
|
||||
|
||||
class IMAGE_PT_proportional_edit(Panel):
|
||||
|
||||
@@ -7591,6 +7591,10 @@ class VIEW3D_PT_snapping(Panel):
|
||||
row.prop(tool_settings, "use_snap_translate", text="Move", toggle=True)
|
||||
row.prop(tool_settings, "use_snap_rotate", text="Rotate", toggle=True)
|
||||
row.prop(tool_settings, "use_snap_scale", text="Scale", toggle=True)
|
||||
col.label(text="Rotation Increment")
|
||||
row = col.row(align=True)
|
||||
row.prop(tool_settings, "snap_angle_increment_3d", text="")
|
||||
row.prop(tool_settings, "snap_angle_increment_3d_precision", text="")
|
||||
|
||||
|
||||
class VIEW3D_PT_proportional_edit(Panel):
|
||||
|
||||
Reference in New Issue
Block a user