UI: Add Placement Settings to the Options popover #107854
|
@ -509,16 +509,9 @@ class _defs_view3d_add:
|
|||
def draw_settings_interactive_add(layout, tool_settings, tool, extra):
|
||||
show_extra = False
|
||||
if not extra:
|
||||
row = layout.row()
|
||||
row.label(text="Depth:")
|
||||
row = layout.row()
|
||||
row.prop(tool_settings, "plane_depth", text="")
|
||||
row = layout.row()
|
||||
row.label(text="Orientation:")
|
||||
row = layout.row()
|
||||
row.prop(tool_settings, "plane_orientation", text="")
|
||||
row = layout.row()
|
||||
row.prop(tool_settings, "snap_elements_tool")
|
||||
layout.row().prop(tool_settings, "plane_depth", text="Depth")
|
||||
layout.row().prop(tool_settings, "plane_orientation")
|
||||
layout.row().prop(tool_settings, "snap_elements_tool")
|
||||
|
||||
region_is_header = bpy.context.region.type == 'TOOL_HEADER'
|
||||
if region_is_header:
|
||||
|
|
|
@ -158,7 +158,7 @@ class VIEW3D_PT_tools_object_options_dragdrop(View3DPanel, Panel):
|
|||
col.prop(tool_settings, "plane_depth", text="Depth")
|
||||
col.prop(tool_settings, "plane_orientation")
|
||||
col.prop(tool_settings, "snap_elements_tool")
|
||||
sub = col.column(align=True)
|
||||
sub = col.row(align=True)
|
||||
sub.active = not tool_settings.plane_axis_auto
|
||||
sub.prop(tool_settings, "plane_axis")
|
||||
col.prop(tool_settings, "plane_axis_auto")
|
||||
|
|
Loading…
Reference in New Issue