Add Object Tool: support incremental snapping
This adds a "Snap to" option that allows using all the scenes snap settings which includes incremental & absolute grid snapping options. This is optional because always following scene snapping would not snap to geometry by default (which seems to be the most useful default).
This commit is contained in:
@@ -462,6 +462,8 @@ class _defs_view3d_add:
|
||||
row = layout.row()
|
||||
row.scale_x = 0.7
|
||||
row.prop(props, "plane_origin")
|
||||
row.scale_x = 0.8
|
||||
row.prop(props, "snap_target")
|
||||
|
||||
@ToolDef.from_fn
|
||||
def cube_add():
|
||||
|
Reference in New Issue
Block a user