Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_operators/object_align.py
| Context not available. | |||||
| class AlignObjects(Operator): | class AlignObjects(Operator): | ||||
| """Align Objects""" | """Align objects""" | ||||
| bl_idname = "object.align" | bl_idname = "object.align" | ||||
| bl_label = "Align Objects" | bl_label = "Align Objects" | ||||
| bl_options = {'REGISTER', 'UNDO'} | bl_options = {'REGISTER', 'UNDO'} | ||||
| Context not available. | |||||
| name="Relative To", | name="Relative To", | ||||
| description="Reference location to align to", | description="Reference location to align to", | ||||
| items=( | items=( | ||||
| ('OPT_1', "Scene Origin", "Use the Scene Origin as the position for the selected objects to align to"), | ('OPT_1', "Scene Origin", "Use the scene origin as the position for the selected objects to align to"), | ||||
| ('OPT_2', "3D Cursor", "Use the 3D cursor as the position for the selected objects to align to"), | ('OPT_2', "3D Cursor", "Use the 3D cursor as the position for the selected objects to align to"), | ||||
| ('OPT_3', "Selection", "Use the selected objects as the position for the selected objects to align to"), | ('OPT_3', "Selection", "Use the selected objects as the position for the selected objects to align to"), | ||||
| ('OPT_4', "Active", "Use the active object as the position for the selected objects to align to"), | ('OPT_4', "Active", "Use the active object as the position for the selected objects to align to"), | ||||
| Context not available. | |||||