Objects: new 3D cursor alignment option when adding objects
authorHans Goudey <h.goudey@me.com>
Wed, 15 May 2019 14:56:22 +0000 (16:56 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 15 May 2019 16:10:58 +0000 (18:10 +0200)
commit06fe2a5e0c5d6202864701cf7fd800e4906057c9
tree020910555116b6f002e87e52bb1f50a49e5967ef
parentddae9c92326486c5c95613bc0b7bb46e2d9bc261
Objects: new 3D cursor alignment option when adding objects

The choices are now World, View and 3D Cursor.

This breaks Python API compatibility, add-ons that add objects with this
parameter will need to be updated.

Differential Revision: https://developer.blender.org/D4706
release/scripts/modules/bpy_extras/object_utils.py
release/scripts/startup/bl_operators/add_mesh_torus.py
release/scripts/startup/bl_operators/object.py
release/scripts/templates_py/operator_mesh_add.py
source/blender/editors/object/object_add.c
source/blender/makesdna/DNA_userdef_types.h
source/blender/makesrna/intern/rna_userdef.c
tests/python/bl_mesh_modifiers.py