Cleanup: split rotation_from_view
authorCampbell Barton <ideasman42@gmail.com>
Sun, 6 May 2018 16:32:18 +0000 (18:32 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 6 May 2018 16:32:18 +0000 (18:32 +0200)
commit046904e3fc6d5a9b10215d97ffc71f08bce37a41
treeedfdc892201573992ae390989dbd86d7535baf74
parent84474b0171eba502cbde345ce44707ba6dde7203
Cleanup: split rotation_from_view

Add a function that takes only a quat, instead of the 3D view.

Allows for using non-view orientations.
source/blender/editors/include/ED_object.h
source/blender/editors/object/object_add.c